Hi, I'm new to this forum and also to Zend Framework. I've been writing PHP code for more than 2 years already so I'm not a complete newbie.
I'm stll just trying to get used to ZF (have been playing with it just for a couple of weeks).
What I want to achieve is, in the bootstrap file, to set the title of the pages to be like this:
Code:
Some title - controller - action
Where "controller" should be name of current controller and "action" name of current action. I don't know how to get current controller and action names though.
Thank you for your help 
This is how my bootstrap file looks like:
[php]
<?php
error_reporting(E_ALL); // crucial for development environment, goes away in production
defined('APPLICATION_PATH')
or define('APPLICATION_PATH', dirname(__FILE__));
defined('APPLICATION_ENVIRONMENT')
or define('APPLICATION_ENVIRONMENT', 'development');
Zend_Session::start();
$frontController = Zend_Controller_Front::getInstance();
$frontController->setControllerDirectory(APPLICATION_PATH . '/controllers');
$frontController->setParam('env', APPLICATION_ENVIRONMENT);
Zend_Layout::startMvc(APPLICATION_PATH . '/layouts/scripts');
$view = Zend_Layout::getMvcInstance()->getView();
$view->doctype('XHTML1_STRICT');
$view->headTitle('Zend'); // HERE I NEED YOUR HELP
$configuration = new Zend_Config_Ini(
APPLICATION_PATH . '/config/app.ini',
APPLICATION_ENVIRONMENT
);
$dbAdapter = Zend_Db::factory($configuration->database);
Zend_Db_Table_Abstract::setDefaultAdapter($dbAdapt er);
$registry = Zend_Registry::getInstance();
$registry->configuration = $configuration;
$registry->dbAdapter = $dbAdapter;
unset($frontController, $view, $configuration, $registry, $dbAdapter);
[/php]