Phpfox插件3.7.7

时间:2014-09-29 09:01:40

标签: php plugins smarty call phpfox

什么是

之间的区别
(($sPlugin = Phpfox_Plugin::get('blog.service_process__start')) ? eval($sPlugin) : false); 

{plugin call='blog.template_controller_add_hidden_form'}

1 个答案:

答案 0 :(得分:1)

(($sPlugin = Phpfox_Plugin::get('blog.service_process__start')) ? eval($sPlugin) : false); 

this syntax  used in class files (controller,block,service) 

and


{plugin call='blog.template_controller_add_hidden_form'}

this syntax used in template file (controller,block)