Search code examples
phppluginssmartycallphpfox

Phpfox plugins 3.7.7


Whats is the difference between

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

and

{plugin call='blog.template_controller_add_hidden_form'}

Solution

  • (($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)