PHP Класс Ansel_View_Image, horde

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Автор: Chuck Hagenbuch ([email protected])
Автор: Michael J Rubinsky ([email protected])
Наследование: extends Ansel_View_Ansel
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_date array The image's date for use in date browsing.
$_geometry array The image geometry.
$_imageList array List of image ids in the parent gallery. Used for next/prev fetching.
$_mode string The gallery mode for this images's current gallery view.
$_page integer The page this image appears on in the current gallery view, if available.
$_revList array Cache {@link self::_imageList} in reverse.
$_slug string The parent gallery's slug name, if available.
$_style Ansel_Style The parent gallery's current style.
$_urls array An array of various URLs that are displayed in the view.

Открытые методы

Метод Описание
__construct ( array $params = [] ) Const'r
getGalleryCrumbData ( ) : array Return the gallery's breadcrumb data.
getTitle ( ) : string Get the title for this view.
html ( ) : string Get the HTML representing this view.
viewType ( )

Защищенные методы

Метод Описание
_getCommentData ( ) : boolean | array Helper for comments
_getView ( ) : Horde_View Generate the Horde_View and populate with basic/common properties.
_html ( ) Image view specific HTML - done so we can extend View_Image for things like the slideshow view etc.
_includeViewSpecificScripts ( )
_prepare ( ) Build variables needed to output the html. Extracted to this method so child classes can use this as well.

Описание методов

__construct() публичный Метод

Const'r
public __construct ( array $params = [] )
$params array

_getCommentData() защищенный Метод

Helper for comments
protected _getCommentData ( ) : boolean | array
Результат boolean | array Either an array of comment data or false on failure

_getView() защищенный Метод

Generate the Horde_View and populate with basic/common properties.
protected _getView ( ) : Horde_View
Результат Horde_View

_html() защищенный Метод

..
protected _html ( )

_includeViewSpecificScripts() защищенный Метод

_prepare() защищенный Метод

Build variables needed to output the html. Extracted to this method so child classes can use this as well.
protected _prepare ( )

getGalleryCrumbData() публичный Метод

Return the gallery's breadcrumb data.
public getGalleryCrumbData ( ) : array
Результат array

getTitle() публичный Метод

Get the title for this view.
public getTitle ( ) : string
Результат string The title.

html() публичный Метод

Get the HTML representing this view.
public html ( ) : string
Результат string The HTML.

viewType() публичный Метод

public viewType ( )

Описание свойств

$_date защищенное свойство

The image's date for use in date browsing.
protected array $_date
Результат array

$_geometry защищенное свойство

The image geometry.
protected array $_geometry
Результат array

$_imageList защищенное свойство

List of image ids in the parent gallery. Used for next/prev fetching.
protected array $_imageList
Результат array

$_mode защищенное свойство

The gallery mode for this images's current gallery view.
protected string $_mode
Результат string

$_page защищенное свойство

The page this image appears on in the current gallery view, if available.
protected int $_page
Результат integer

$_revList защищенное свойство

Cache {@link self::_imageList} in reverse.
protected array $_revList
Результат array

$_slug защищенное свойство

The parent gallery's slug name, if available.
protected string $_slug
Результат string

$_style защищенное свойство

The parent gallery's current style.
protected Ansel_Style $_style
Результат Ansel_Style

$_urls защищенное свойство

An array of various URLs that are displayed in the view.
protected array $_urls
Результат array