<?xml version="1.0" encoding="UTF-8"?> <module version="1.0"> <title xml:lang="ko">테스트모듈</title> <description xml:lang="ko">테스트모듈 한글</description> <version>1.0.1</version> <date>2016-03-01</date> <category>service</category> <author email_address="[email protected]" link="http://abcd.com"> <name xml:lang="ko">테스트모듈</name> </author> </module>
스킨 파일이나 모듈명.view.php 에서 해당 정보를 출력할수있는 방법이 궁금합니다.
version 가져오려고합니다..
// 버전 구하기
$oModuleModel = getModel('module');
$module_list = $oModuleModel->getModuleList();
}
<h1 class="xeAdmin">GG 모듈명<!--@foreach($module_list as $key => $val)--><!--@if($val->path == './modules/gg모듈경로/')--> v {$val->version}<!--@end--><!--@end--></h1>
도움이 되시길 바랍니다. ㅋㅋ