Its much cleared now..
thanks for your help
Anees
Hector Virgen wrote:
>
> There are a couple of ways to do this, but one that I have been using
> often
> is to get the view from the ViewRenderer:
>
> $viewRenderer =
> Zend_Controller_Helper_HelperBroker::getStaticHelper('viewRenderer');
> $view = $viewRenderer->view;
> if (null === $view) {
> $viewRenderer->initView();
> $view = $viewRenderer->view;
> }
>
> $view->headMeta(...);
>
>
--
View this message in context: http://www.nabble.com/Where-to-write-the-Function-to-load-Meta-tags-for-the-whole-site-tp22075695p22093514.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论