Latest news
Home » SocialEngine » call view helper in api or plugin of socialengine

call view helper in api or plugin of socialengine

View property is not available in plugin .So call view property using zend and use this for get view helper

$view = Zend_Registry::get(‘Zend_View’);

$job_status = $view->getJobStatus(‘id’);

 

Leave a Reply

x

Check Also

Get parameter value in socialengine or zendframework

Get parameter value in socialengine/zendframework $this->_getParam(‘id’, null) $this->getRequest()->getParam(‘fancybox’, null);