|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/home/queenjbs/xe/modules/page/ |
Upload File : |
<?php
/**
* @class pageWap
* @author zero (zero@nzeo.com)
* @brief page 모듈의 wap class
**/
class pageWap extends page {
/**
* @brief wap procedure method
*
* 페이지 모듈은 형식이 정해져 있지 않기에 전체 컨텐츠를 mobile class에서 제어해서 출력함
**/
function procWAP(&$oMobile) {
// 권한 체크
if(!$this->grant->access) return $oMobile->setContent(Context::getLang('msg_not_permitted'));
// 위젯의 내용을 추출함
$oWidgetController = &getController('widget');
$content = $oWidgetController->transWidgetCode($this->module_info->content);
$oMobile->setContent($content);
}
}
?>