TTimeline
extends TElement
in package
Timeline
Tags
Table of Contents
Properties
- $actions : mixed
- $finalIcon : mixed
- $itemDatabase : mixed
- $items : mixed
- $itemTemplate : mixed
- $templatePath : mixed
- $timeDisplayMask : mixed
- $useBothSides : mixed
Methods
- __construct() : mixed
- Class Constructor
- addAction() : mixed
- Add Action
- addItem() : mixed
- Add Item
- setFinalIcon() : mixed
- Define the final timeline icon
- setItemDatabase() : mixed
- Set item min database
- setItemTemplate() : mixed
- Set card item template for rendering
- setTemplatePath() : mixed
- Define the item template path
- setTimeDisplayMask() : mixed
- Define the labelmask
- setUseBothSides() : mixed
- Define the labelmask
- show() : mixed
- Show
- defaultItemRender() : mixed
- Render label
- renderFinalIcon() : mixed
- Render final icon
- renderItem() : mixed
- Render item
- renderItemActions() : mixed
- Render Action
- renderItems() : mixed
- Render items
- renderLabel() : mixed
- Render label
Properties
$actions
protected
mixed
$actions
$finalIcon
protected
mixed
$finalIcon
$itemDatabase
protected
mixed
$itemDatabase
$items
protected
mixed
$items
$itemTemplate
protected
mixed
$itemTemplate
$templatePath
protected
mixed
$templatePath
$timeDisplayMask
protected
mixed
$timeDisplayMask
$useBothSides
protected
mixed
$useBothSides
Methods
__construct()
Class Constructor
public
__construct() : mixed
addAction()
Add Action
public
addAction( $action, $label, $icon[, $display_condition = null ]) : mixed
Parameters
addItem()
Add Item
public
addItem( $id, $title, $content, $date, $icon[, $align = null ][, $object = null ]) : mixed
Parameters
setFinalIcon()
Define the final timeline icon
public
setFinalIcon( $icon) : mixed
Parameters
setItemDatabase()
Set item min database
public
setItemDatabase( $database) : mixed
Parameters
setItemTemplate()
Set card item template for rendering
public
setItemTemplate( $template) : mixed
Parameters
setTemplatePath()
Define the item template path
public
setTemplatePath( $template_path) : mixed
Parameters
setTimeDisplayMask()
Define the labelmask
public
setTimeDisplayMask( $mask) : mixed
Parameters
setUseBothSides()
Define the labelmask
public
setUseBothSides() : mixed
show()
Show
public
show() : mixed
defaultItemRender()
Render label
private
defaultItemRender(mixed $item) : mixed
Parameters
- $item : mixed
renderFinalIcon()
Render final icon
private
renderFinalIcon() : mixed
renderItem()
Render item
private
renderItem( $item) : mixed
Parameters
renderItemActions()
Render Action
private
renderItemActions([ $object = null ]) : mixed
Parameters
renderItems()
Render items
private
renderItems() : mixed
renderLabel()
Render label
private
renderLabel( $label) : mixed