mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
NHN developers@xpressengine.com http://xpressengine.com/ git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7676 201d5d3c-b55e-5fd7-737f-ddc643e51545
26 lines
832 B
PHP
26 lines
832 B
PHP
<?php
|
|
/**
|
|
* @class pageWap
|
|
* @author NHN (developers@xpressengine.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);
|
|
}
|
|
|
|
}
|
|
?>
|