PHP Class Ansel_View_List, horde

Copyright 2008-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_Ansel
Show file Open project: horde/horde

Protected Properties

Property Type Description
$_owner string The owner we are grouping by, if any.
$_page integer The current page number of the view.
$_special boolean
$_view Horde_View The Horde_View used to render this view.

Public Methods

Method Description
__construct ( array $params = [] ) Const'r
getGalleryCrumbData ( ) noop
getTitle ( ) : string Get this view's title.
html ( ) : string Return the HTML representing this view.
viewType ( )

Method Details

__construct() public method

Const'r
public __construct ( array $params = [] )
$params array Any parameters that the view might need.
 In addition to the params taken by Ansel_View_Gallery, this view
 can also take:

 groupby      -  Group the results (owner)

 owner        -  The owner to group by

 tags         -  Limit to galleries matching tags

 gallery_ids  -  No fitering, just show these galleries

 pager_url    -  The url for the pager to use see Ansel_Gallery for
                 more information on the url parameters.

getGalleryCrumbData() public method

noop
public getGalleryCrumbData ( )

getTitle() public method

Get this view's title.
public getTitle ( ) : string
return string The gallery's title.

html() public method

Return the HTML representing this view.
public html ( ) : string
return string The HTML.

viewType() public method

public viewType ( )

Property Details

$_owner protected property

The owner we are grouping by, if any.
protected string $_owner
return string

$_page protected property

The current page number of the view.
protected int $_page
return integer

$_special protected property

protected bool $_special
return boolean

$_view protected property

The Horde_View used to render this view.
protected Horde_View $_view
return Horde_View