PHP 클래스 WhGallery

Renders a gallery of blueimp Gallery
또한 보기: http://blueimp.github.io/Gallery/
저자: Antonio Ramirez ([email protected])
상속: extends CWidget
파일 보기 프로젝트 열기: 2amigos/yiiwheels 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$displayControls whether to display the controls on initialization
$htmlOptions array box HTML additional attributes
$items array
 'items' => array(
       array(
           'url' => 'big image',
           'src' => 'source image (thumb)',
           'options' => array(...) // link options
       )
)
$pluginOptions array

공개 메소드들

메소드 설명
init ( ) Widget's initialization
registerClientScript ( ) Registers client script
registerGalleryScriptFiles ( ) Registers gallery script files
renderLinks ( ) Renders links
renderTemplate ( ) Renders gallery template
run ( ) : null | void Renders widget

메소드 상세

init() 공개 메소드

Widget's initialization
public init ( )

registerClientScript() 공개 메소드

Registers client script

registerGalleryScriptFiles() 공개 메소드

Registers gallery script files

renderTemplate() 공개 메소드

Renders gallery template
public renderTemplate ( )

run() 공개 메소드

Renders widget
public run ( ) : null | void
리턴 null | void

프로퍼티 상세

$displayControls 공개적으로 프로퍼티

whether to display the controls on initialization
public $displayControls

$htmlOptions 공개적으로 프로퍼티

box HTML additional attributes
public array $htmlOptions
리턴 array

$items 공개적으로 프로퍼티

 'items' => array(
       array(
           'url' => 'big image',
           'src' => 'source image (thumb)',
           'options' => array(...) // link options
       )
)
public array $items
리턴 array

$pluginOptions 공개적으로 프로퍼티

또한 보기: https://github.com/blueimp/Gallery/blob/master/README.md#options
public array $pluginOptions
리턴 array