function.html 328 B

1234567891011121314151617
  1. <php>
  2. /*这里只是一个模板函数库演示,详细请查看http://www.thinkcmf.com/document/article/id/398.html*/
  3. /*可以加多个方法哟!*/
  4. function _sp_helloworld(){
  5. echo "hello ThinkCMF!";
  6. }
  7. function _sp_helloworld2(){
  8. echo "hello ThinkCMF2!";
  9. }
  10. function _sp_helloworld3(){
  11. echo "hello ThinkCMF3!";
  12. }
  13. </php>