PHP Class Horde_View_Helper_Block, horde

Author: Chuck Hagenbuch ([email protected])
Inheritance: extends Horde_View_Helper_Base
Datei anzeigen Open project: horde/horde

Protected Properties

Property Type Description
$_blockCache array Blocks that have already been fetched.

Public Methods

Method Description
blockContent ( ) : string Returns the content of the specified block.
blockTitle ( ) : string Returns the title of the specified block.

Protected Methods

Method Description
_args ( array $args ) Parses any argument style for the Block-fetching functions.
_block ( string $block, array $params ) : Horde_Core_Block Instantiates and caches Block objects.

Method Details

_args() protected method

Parses any argument style for the Block-fetching functions.
protected _args ( array $args )
$args array

_block() protected method

Instantiates and caches Block objects.
protected _block ( string $block, array $params ) : Horde_Core_Block
$block string The name of the block to fetch.
$params array Any arguments to the Block constructor.
return Horde_Core_Block The requested Block object.

blockContent() public method

Returns the content of the specified block.
public blockContent ( ) : string
return string The requested Block's content.

blockTitle() public method

Returns the title of the specified block.
public blockTitle ( ) : string
return string The requested Block's title.

Property Details

$_blockCache protected_oe property

Blocks that have already been fetched.
protected array $_blockCache
return array