headTitle
ビューヘルパーを調べる必要があります。以下のスニペットをブートストラップ ファイルに挿入できます ( http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.headtitleのドキュメントから)。
// setting the controller and action name as title segments:
$request = Zend_Controller_Front::getInstance()->getRequest();
$this->headTitle($request->getActionName())
->headTitle($request->getControllerName());
// setting the site in the title; possibly in the layout script:
$this->headTitle('Test Project');
// setting a separator string for segments:
$this->headTitle()->setSeparator(' / ');
次に、次のようにコントローラーで各ページのタイトルを個別に設定できます。
$this->view->headTitle('The page name')
レンダリングされたタイトルは次のようになります。
<title>Test Project / The page name</title>
ああ、タグが行くレイアウトスクリプトでこれが必要です:
<?php echo $this->headTitle() ?>