Public Member Functions | Protected Attributes

Robo47_Controller_Plugin_Title Class Reference

List of all members.

Public Member Functions

 __construct (Zend_View_Interface $view, $append= '', $prepend= '')
 getAppend ()
 Get Append.
 getPrepend ()
 Get Prepend.
 getView ()
 Get View.
 postDispatch (Zend_Controller_Request_Abstract $request)
 setAppend ($value=null)
 Set Append.
 setPrepend ($value=null)
 Set Prepend.
 setView (Zend_View_Interface $view)
 Set View.

Protected Attributes

 $_append = ''
 $_prepend = ''
 $_view

Detailed Description

Definition at line 35 of file Title.php.


Constructor & Destructor Documentation

Robo47_Controller_Plugin_Title::__construct ( Zend_View_Interface $  view,
append = '',
prepend = '' 
)
Parameters:
Zend_View_Interface $view
string $append
string $prepend

Definition at line 63 of file Title.php.

References setAppend(), setPrepend(), and setView().

    {
        $this->setAppend($append);
        $this->setPrepend($prepend);
        $this->setView($view);
    }

Here is the call graph for this function:


Member Function Documentation

Robo47_Controller_Plugin_Title::getAppend (  ) 

Get Append.

Returns:
string

Definition at line 133 of file Title.php.

    {
        return $this->_append;
    }

Robo47_Controller_Plugin_Title::getPrepend (  ) 

Get Prepend.

Returns:
string

Definition at line 123 of file Title.php.

    {
        return $this->_prepend;
    }

Robo47_Controller_Plugin_Title::getView (  ) 

Get View.

Returns:
Zend_View_Interface

Definition at line 77 of file Title.php.

    {
        return $this->_view;
    }

Robo47_Controller_Plugin_Title::postDispatch ( Zend_Controller_Request_Abstract $  request  ) 

Definition at line 138 of file Title.php.

    {
        $headTitle = $this->_view->headTitle();
        $headTitle->headTitle($this->_prepend, 'PREPEND');
        $headTitle->headTitle($this->_append, 'APPEND');
    }

Robo47_Controller_Plugin_Title::setAppend ( value = null  ) 

Set Append.

Parameters:
string $value
Returns:
Robo47_Controller_Plugin_Title *Provides Fluent Interface*

Definition at line 100 of file Title.php.

Referenced by __construct().

    {
        $this->_append = $value;
        return $this;
    }

Here is the caller graph for this function:

Robo47_Controller_Plugin_Title::setPrepend ( value = null  ) 

Set Prepend.

Parameters:
string $value
Returns:
Robo47_Controller_Plugin_Title *Provides Fluent Interface*

Definition at line 112 of file Title.php.

Referenced by __construct().

    {
        $this->_prepend = $value;
        return $this;
    }

Here is the caller graph for this function:

Robo47_Controller_Plugin_Title::setView ( Zend_View_Interface $  view  ) 

Set View.

Parameters:
Zend_View_Interface $view
Returns:
Robo47_Controller_Plugin_Title *Provides Fluent Interface*

Definition at line 88 of file Title.php.

Referenced by __construct().

    {
        $this->_view = $view;
        return $this;
    }

Here is the caller graph for this function:


Member Data Documentation

Robo47_Controller_Plugin_Title::$_append = '' [protected]

Definition at line 43 of file Title.php.

Robo47_Controller_Plugin_Title::$_prepend = '' [protected]

Definition at line 49 of file Title.php.

Robo47_Controller_Plugin_Title::$_view [protected]

Definition at line 55 of file Title.php.


The documentation for this class was generated from the following file: