Quick output variable
{: Function (...)} // Execute the method and output the returned value {~ Function} // The execution method does not output {@ var} // The output Session variable {# var} // The output Cookie variable {& var} // The output configuration parameter {% var }/ /output language variable {. var} // output GET variable {^ var} // output POST variable {* var} // output constant
Template output
// 1 directly call the index operation template $ this-> display (); // corresponding to Myapp/Tpl/default/Index/index.html // 2 call the test1 operation template of the Index module $ this-> display ('test1 '); // corresponding to Myapp/Tpl/default/Index/test1.html // 2 call the test2 operation template of the Message module () $ this-> display ('message: test2 '); // corresponding to Myapp/Tpl/default/Message/test2.html // 3 call the test2 operation template of the Message module of the XP topic $ this-> display ('xp @ Message: test2 '); // specify the full name of the template file $ this-> display ('.. /Message/test3.html '); // corresponding to Myapp/Tpl/default/Message/test3.html