PHP Class Horde_View_Helper_Capture_ContentFor, horde

Author: Mike Naberezny ([email protected])
Author: Derek DeVries ([email protected])
Author: Chuck Hagenbuch ([email protected])
Inheritance: extends Horde_View_Helper_Capture_Base
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
__construct ( string $name, Horde_View_Base $view ) Starts capturing content that will be stored as $view->contentForName.
end ( ) Stops capturing content and stores it in the view.

Method Details

__construct() public method

Starts capturing content that will be stored as $view->contentForName.
public __construct ( string $name, Horde_View_Base $view )
$name string Name of the content that becomes the instance variable name. "foo" -> "$this->contentForFoo"
$view Horde_View_Base A view object.

end() public method

Stops capturing content and stores it in the view.
public end ( )