Home >Backend Development >PHP Tutorial >Kurogo sample code Hello world

Kurogo sample code Hello world

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-25 09:09:451272browse
Kurogo Mobile Framework mobile development framework. Kurogo has cross-platform support and provides preset modules
  1. class HelloWebModule extends WebModule
  2. {
  3. protected $id='hello';
  4. protected function initializeForPage() {
  5. $this->assign('message', 'Hello World!') ;
  6. }
  7. }
Copy code
  1. {include file="findInclude:common/templates/header.tpl"}
  2. Hello World!

  3. {include file="findInclude:common /templates/footer.tpl"}
Copy code
Kurogo sample code Hello world


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn