Property | Type | Description | |
---|---|---|---|
$helpers | array |
Property | Type | Description | |
---|---|---|---|
$_defaultConfig | array | .. | |
$_items | array |
Method | Description | |
---|---|---|
addItem ( array $item ) : void | Add timeline item. | |
addItems ( array $items ) : void | Add timeline items as an array of items. | |
finalize ( boolean $return = false ) : void | string | Finalize the timeline and write the javascript to the buffer. |
Method | Description | |
---|---|---|
_date ( DateTime | null $date = null ) : string | Format date to JS code. | |
_format ( array $items ) : string | Format items to JS code | |
_options ( array $options ) : string | Format options to JS code |