PHP Class Ansel_View_GalleryProperties, horde

Copyright 2010-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: Chuck Hagenbuch ([email protected])
Author: Michael J. Rubinsky ([email protected])
Datei anzeigen Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_params array View parameters
$_properties array Hash of gallery properties.
$_title string The view title

Public Methods

Method Description
__construct ( array $params = [] ) Const'r
run ( ) : void Runs the view

Protected Methods

Method Description
_galleryViewStyles ( ) : array Get a list of available Gallery View styles
_thumbStyles ( ) : array Get a list of available, currently usable thumbnail styles.

Private Methods

Method Description
_loadDefaults ( )
_output ( ) : void Outputs the view to the browser.
_runEdit ( ) : void Handle setting up the form for editing an existing gallery
_runNew ( ) : void Set up for adding new galleries.
_runNewChild ( ) : void Set up for adding a new child gallery.
_runSave ( ) : void Handles saving the gallery information from the form submission, and redirects back to previous view when complete.

Method Details

__construct() public method

Const'r
public __construct ( array $params = [] )
$params array Parameters for the view

_galleryViewStyles() protected method

Get a list of available Gallery View styles
protected _galleryViewStyles ( ) : array
return array

_thumbStyles() protected method

Get a list of available, currently usable thumbnail styles.
protected _thumbStyles ( ) : array
return array An array of Classnames => titles

run() public method

Runs the view
public run ( ) : void
return void

Property Details

$_params protected_oe property

View parameters
protected array $_params
return array

$_properties protected_oe property

Hash of gallery properties.
protected array $_properties
return array

$_title protected_oe property

The view title
protected string $_title
return string