PHP Class TbCarousel

See also: http://twitter.github.com/bootstrap/javascript.html#carousel
Inheritance: extends CWidget
Datei anzeigen Open project: yinhe/yincart

Public Properties

Property Type Description
$displayPrevAndNext indicates whether to display the previous and next links.
$events the Javascript event handlers.
$htmlOptions the HTML attributes for the widget container.
$items the carousel items configuration.
$nextLabel the next button label. Defaults to '›'.
$options the options for the Bootstrap Javascript plugin.
$prevLabel the previous button label. Defaults to '‹'.
$slide indicates whether the carousel should slide items.

Public Methods

Method Description
init ( ) ### .init()
run ( ) ### .run()

Protected Methods

Method Description
renderItems ( array $items ) ### .renderItems()

Method Details

init() public method

Initializes the widget.
public init ( )

renderItems() protected method

Renders the carousel items.
protected renderItems ( array $items )
$items array the item configuration.

run() public method

Runs the widget.
public run ( )

Property Details

$displayPrevAndNext public_oe property

indicates whether to display the previous and next links.
public $displayPrevAndNext

$events public_oe property

the Javascript event handlers.
public $events

$htmlOptions public_oe property

the HTML attributes for the widget container.
public $htmlOptions

$items public_oe property

the carousel items configuration.
public $items

$nextLabel public_oe property

the next button label. Defaults to '›'.
public $nextLabel

$options public_oe property

the options for the Bootstrap Javascript plugin.
public $options

$prevLabel public_oe property

the previous button label. Defaults to '‹'.
public $prevLabel

$slide public_oe property

indicates whether the carousel should slide items.
public $slide