PHP Class Ansel_View_Ansel, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Michael J. Rubinsky ([email protected])
Inheritance: extends Ansel_View_Base
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$gallery Ansel_Gallery The gallery object (will be eq to $resource in a gallery view
$resource The ansel resource this view is for.

Protected Properties

Property Type Description
$_widgets array Collection of Ansel_Widgets to display in this view.

Public Methods

Method Description
addWidget ( Ansel_Widget $widget ) Add an Ansel_Widget to be displayed in this view.
countWidgets ( ) : integer Count the number of widgets we have attached.
getGalleryCrumbData ( )
getTitle ( )
html ( )
renderWidgets ( ) Output any widgets associated with this view.
viewType ( )

Protected Methods

Method Description
_renderWidgets ( ) Default widget rendering, can be overridden by any subclass.

Method Details

_renderWidgets() protected method

Default widget rendering, can be overridden by any subclass.
protected _renderWidgets ( )

addWidget() public method

Add an Ansel_Widget to be displayed in this view.
public addWidget ( Ansel_Widget $widget )
$widget Ansel_Widget The Ansel_Widget to display

countWidgets() public method

Count the number of widgets we have attached.
public countWidgets ( ) : integer
return integer The number of widgets attached to this view.

getGalleryCrumbData() abstract public method

abstract public getGalleryCrumbData ( )

getTitle() abstract public method

abstract public getTitle ( )

html() abstract public method

abstract public html ( )

renderWidgets() public method

Output any widgets associated with this view.
public renderWidgets ( )

viewType() abstract public method

abstract public viewType ( )

Property Details

$_widgets protected_oe property

Collection of Ansel_Widgets to display in this view.
protected array $_widgets
return array

$resource public_oe property

The ansel resource this view is for.
public $resource