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
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_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