Documentation

Horde_View_Helper_Capture_ContentFor extends Horde_View_Helper_Capture_Base
in package

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

Tags
author

Mike Naberezny mike@maintainable.com

author

Derek DeVries derek@maintainable.com

author

Chuck Hagenbuch chuck@horde.org

license

http://www.horde.org/licenses/bsd

category

Horde

subpackage

Helper

Table of Contents

$_buffering  : bool
Are we currently buffering?
$_view  : mixed
$_name  : string
Name that will become "$this->contentForName".
__construct()  : mixed
Starts capturing content that will be stored as $view->contentForName.
end()  : string
Stops capturing content and stores it in the view.

Properties

$_buffering

Are we currently buffering?

protected bool $_buffering = \true

$_name

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

private string $_name

Methods

__construct()

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

public __construct(string $name, Horde_View_Base $view) : mixed
Parameters
$name : string

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

$view : Horde_View_Base

A view object.

Return values
mixed

end()

Stops capturing content and stores it in the view.

public end() : string
Return values
string

The captured string.

Search results