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
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Свойство 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

Свойство Type Description
$_widgets array Collection of Ansel_Widgets to display in this view.

Méthodes publiques

Méthode 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 ( )

Méthodes protégées

Méthode Description
_renderWidgets ( ) Default widget rendering, can be overridden by any subclass.

Method Details

_renderWidgets() protected méthode

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

addWidget() public méthode

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 méthode

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

getGalleryCrumbData() abstract public méthode

abstract public getGalleryCrumbData ( )

getTitle() abstract public méthode

abstract public getTitle ( )

html() abstract public méthode

abstract public html ( )

renderWidgets() public méthode

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

viewType() abstract public méthode

abstract public viewType ( )

Property Details

$_widgets protected_oe property

Collection of Ansel_Widgets to display in this view.
protected array $_widgets
Résultat array

$resource public_oe property

The ansel resource this view is for.
public $resource