当前位置:Gxlcms > PHP教程 > Kurogo示例代码Helloworld

Kurogo示例代码Helloworld

时间:2021-07-01 10:21:17 帮助过:4人阅读

Kurogo Mobile Framework移动开发框架。Kurogo 具有跨平台支持能力,并且提供了预设模块
  1. class HelloWebModule extends WebModule
  2. {
  3. protected $id='hello';
  4. protected function initializeForPage() {
  5. $this->assign('message', 'Hello World!');
  6. }
  7. }
  1. {include file="findInclude:common/templates/header.tpl"}
  2. Hello World!

  3. {include file="findInclude:common/templates/footer.tpl"}

人气教程排行