PHP Class Horde_Core_Block_Layout, horde

Copyright 2003-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Mike Cochrane ([email protected])
Author: Jan Schneider ([email protected])
Author: Michael Slusarz ([email protected])
Datei anzeigen Open project: horde/horde

Protected Properties

Property Type Description
$_editUrl string Edit URL.
$_viewUrl string View URL.

Public Methods

Method Description
getActionUrl ( string $action, integer $row, integer $col ) : Horde_Url Returns an URL triggering an action to a block.
getHeaderIcons ( integer $row, integer $col, boolean $edit, $url = null ) : string Returns the actions for the block header.
isRemovable ( integer $row, integer $col ) : boolean Returns whether the specified block may be removed.

Method Details

getActionUrl() public method

Returns an URL triggering an action to a block.
public getActionUrl ( string $action, integer $row, integer $col ) : Horde_Url
$action string An action to trigger.
$row integer A layout row.
$col integer A layout column.
return Horde_Url An URL with all necessary parameters.

getHeaderIcons() public method

Returns the actions for the block header.
public getHeaderIcons ( integer $row, integer $col, boolean $edit, $url = null ) : string
$row integer A layout row.
$col integer A layout column.
$edit boolean Whether to include the edit icon.
$url TODO
return string HTML code for the block action icons.

isRemovable() public method

Returns whether the specified block may be removed.
public isRemovable ( integer $row, integer $col ) : boolean
$row integer A layout row.
$col integer A layout column.
return boolean True if this block may be removed.

Property Details

$_editUrl protected_oe property

Edit URL.
protected string $_editUrl
return string

$_viewUrl protected_oe property

View URL.
protected string $_viewUrl
return string