Shortcut output variables
{:function(...)}//executes the method and outputs the return value{~function}//execution method does not output{@var}//Output Session variable{#var}//Output cookie variable{&var}//Output Configuration Parameters{%var}//Output Language Variables{.var}//Output Get variable{^var}//Output post variable{*var}//Output Constants
Template output
//1 Call the index action template directly$this-display ();//the Test1 action template that corresponds to the MYAPP/TPL/DEFAULT/INDEX/INDEX.HTML//2 call to the Index module$this->display (' test1 ');//test2 Action Template () corresponding to the MYAPP/TPL/DEFAULT/INDEX/TEST1.HTML//2 call message module$this->display (' Message:test2 ');//test2 Action template for the Message module that corresponds to the MYAPP/TPL/DEFAULT/MESSAGE/TEST2.HTML//3 call XP topic$this->display (' [Email protected]:test2 '));//corresponding MYAPP/TPL/XP/MESSAGE/TEST2.HTML//4 directly specify the full name of the template file$this->display ('.. /message/test3.html ');//Correspondence myapp/tpl/default/message/test3.html