\Horde_View_Helper_Capture_ContentFor

An instance of this class is returned by Horde_View_Helper_Capture::contentFor().

Summary

Methods
Properties
Constants
__construct()
end()
No public properties found
No constants found
No protected methods found
$_buffering
N/A
No private methods found
$_name
N/A

Properties

$_buffering

$_buffering : boolean

Are we currently buffering?

Type

boolean

$_name

$_name : string

Name that will become "$this->contentForName".

Type

string

Methods

__construct()

__construct(string  $name, \Horde_View_Base  $view) 

Starts capturing content that will be stored as $view->contentForName.

Parameters

string $name

Name of the content that becomes the instance variable name. "foo" -> "$this->contentForFoo"

\Horde_View_Base $view

A view object.

end()

end() : string

Stops capturing content and stores it in the view.

Returns

string —

The captured string.