Heim >Backend-Entwicklung >PHP-Tutorial >Kurogo 示例代码 Hello world

Kurogo 示例代码 Hello world

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-25 09:09:451277Durchsuche
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"}
复制代码
Kurogo 示例代码 Hello world


Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn