2011-04-04 37 views
0

你好,我知道如何寫在Zend的Meta標籤在這樣一個動作beefined:Zendframe上班元數據

// action body 

$this->_helper->layout()->getView()->headTitle(' Title Here') // setting the page title 
$this->view->headMeta()->appendName('keywords', 'heywords here'); 
$this->view->headMeta()->appendName('description', 'description here'); 

我會想知道元語法nofollow的

感謝

回答

2
$this->view->headMeta()->appendProperty('rel', 'nofollow');