XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
page.wap.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
8 class pageWap extends page
9 {
15  function procWAP(&$oMobile)
16  {
17  // Check permissions
18  if(!$this->grant->access) return $oMobile->setContent(Context::getLang('msg_not_permitted'));
19  // The contents of the widget chuchulham
20  $oWidgetController = getController('widget');
21  $content = $oWidgetController->transWidgetCode($this->module_info->content);
22  $oMobile->setContent($content);
23  }
24 }
25 /* End of file page.wap.php */
26 /* Location: ./modules/page/page.wap.php */
getController($module_name)
Definition: func.inc.php:90
high class of the module page
Definition: page.class.php:8
wap class page of the module
Definition: page.wap.php:8
procWAP(&$oMobile)
wap procedure method
Definition: page.wap.php:15
getLang($code)