Class Horde_View_Helper_Block

Description

View helper for displaying Horde_Block objects

Located in /View/lib/Horde/View/Helper/Block.php (line 17)

Horde_View_Helper
   |
   --Horde_View_Helper_Block
Variable Summary
 array $_blockCache
Method Summary
 string blockContent (string $app, string $block, mixed $arg1, mixed $arg2, mixed $arg3)
 string blockTitle (string $app, string $block, mixed $arg1, mixed $arg2, mixed $arg3)
 void _args (array $args)
 Horde_Block _block (string $app, string $block, array $params)
Variables
array $_blockCache = array() (line 24)

Blocks that have already been fetched.

  • access: protected

Inherited Variables

Inherited from Horde_View_Helper

Horde_View_Helper::$_view
Methods
blockContent (line 64)

Return the content of the specified block.

  • return: The requested Block's content.
  • throws: Horde_View_Exception, InvalidArgumentException
  • access: public
string blockContent (string $app, string $block, mixed $arg1, mixed $arg2, mixed $arg3)
  • string $app: The application the block is from.
  • string $block: The name of the block to get the content for.
  • mixed $arg1: (optional) The first argument to the Block constructor.
  • mixed $arg2: (optional) The first argument to the Block constructor.
  • mixed $arg3:

    (optional) The first argument to the Block constructor.

    ...

blockTitle (line 41)

Return the title of the specified block.

  • return: The requested Block's title.
  • throws: Horde_View_Exception, InvalidArgumentException
  • access: public
string blockTitle (string $app, string $block, mixed $arg1, mixed $arg2, mixed $arg3)
  • string $app: The application the block is from.
  • string $block: The name of the block to get the title for.
  • mixed $arg1: (optional) The first argument to the Block constructor.
  • mixed $arg2: (optional) The first argument to the Block constructor.
  • mixed $arg3:

    (optional) The first argument to the Block constructor.

    ...

_args (line 109)

Parse any argument style for the Block-fetching functions

  • access: protected
void _args (array $args)
  • array $args
_block (line 85)

Instantiate and cache Block objects

  • return: The requested Block object
  • throws: Horde_View_Exception, InvalidArgumentException
  • access: protected
Horde_Block _block (string $app, string $block, array $params)
  • string $app: The application the block is from.
  • string $block: The name of the block to fetch.
  • array $params:

    (option) Any arguments to the Block constructor.

    ...

Inherited Methods

Inherited From Horde_View_Helper

 Horde_View_Helper::__construct()
 Horde_View_Helper::__call()

Documentation generated on Sun, 30 Jan 2011 05:15:32 +0000 by phpDocumentor 1.4.3