Class Horde_Block_Layout

Description

The Horde_Block_Layout class provides basic functionality for both managing and displaying blocks through Horde_Block_Layout_Manager and Horde_Block_Layout_View.

$Horde: framework/Block/Block/Layout.php,v 1.21.10.14 2010/07/07 23:27:51 slusarz Exp $

Copyright 2003-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Located in /Block/Block/Layout.php (line 19)


	
			
Direct descendents
Class Description
 class Horde_Block_Layout_Manager The Horde_Block_Layout_Manager class allows manipulation of Horde_Block layouts.
 class Horde_Block_Layout_View The Horde_Block_Layout_View class represents the user defined portal layout.
Variable Summary
 string $_editUrl
 string $_viewUrl
Method Summary
 string getActionUrl (string $action, integer $row, integer $col)
 string getHeaderIcons (integer $row, integer $col, boolean $edit, [ $url = null])
 boolean isRemovable (integer $row, integer $col)
Variables
string $_editUrl (line 24)
string $_viewUrl (line 29)
Methods
getActionUrl (line 80)

Returns an URL triggering an action to a block.

  • return: An URL with all necessary parameters.
string getActionUrl (string $action, integer $row, integer $col)
  • string $action: An action to trigger.
  • integer $row: A layout row.
  • integer $col: A layout column.
getHeaderIcons (line 101)

Returns the actions for the block header.

  • return: HTML code for the block action icons.
string getHeaderIcons (integer $row, integer $col, boolean $edit, [ $url = null])
  • integer $row: A layout row.
  • integer $col: A layout column.
  • boolean $edit: Whether to include the edit icon.
  • $url
isRemovable (line 39)

Returns whether the specified block may be removed.

  • return: True if this block may be removed.
boolean isRemovable (integer $row, integer $col)
  • integer $row: A layout row.
  • integer $col: A layout column.

Documentation generated on Sun, 30 Jan 2011 05:19:02 +0000 by phpDocumentor 1.4.3