2014-09-29 2 views
0

Что разница междуPhpfox плагинов 3.7.7

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

и

{plugin call='blog.template_controller_add_hidden_form'} 
+0

я думаю, один для PHP и второй для HTML)) – sAs59

+0

да вы написать @ sAs59 –

ответ

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)