Listing 22.15. Metoda showAction() kontrolera AktorController.php
public function showAction()
{
    $slug = $this->_request->getParam('slug', 'brak');
    $Aktor = new Application_Model_DbTable_Aktor();
    $this->view->aktor = $Aktor->findOneBySlug($slug);
    if (!$this->view->aktor) {
        throw new Zend_Controller_Action_Exception('Błąd', 404);
    }
}