API Documentação da API
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

TTimeline extends TElement
in package

Timeline

Tags
version
7.6
subpackage

util

author

Artur Comunello

author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

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

$timeDisplayMask

protected mixed $timeDisplayMask

Methods

__construct()

Class Constructor

public __construct() : mixed

addAction()

Add Action

public addAction( $action,  $label,  $icon[,  $display_condition = null ]) : mixed
Parameters
$action :

Action

$label :

Action Label

$icon :

Action icon

$display_condition : = null

Action display condition

addItem()

Add Item

public addItem( $id,  $title,  $content,  $date,  $icon[,  $align = null ][,  $object = null ]) : mixed
Parameters
$id :

ID

$title :

Title

$content :

Item content

$date :

Item date

$icon :

Item icon

$align : = null

Item align

$object : = null

Item data object

setFinalIcon()

Define the final timeline icon

public setFinalIcon( $icon) : mixed
Parameters
$icon :

icon

setItemDatabase()

Set item min database

public setItemDatabase( $database) : mixed
Parameters
$database :

min database

setItemTemplate()

Set card item template for rendering

public setItemTemplate( $template) : mixed
Parameters
$template :

Template content

setTemplatePath()

Define the item template path

public setTemplatePath( $template_path) : mixed
Parameters
$template_path :

Template path

setTimeDisplayMask()

Define the labelmask

public setTimeDisplayMask( $mask) : mixed
Parameters
$mask :

Mask

setUseBothSides()

Define the labelmask

public setUseBothSides() : 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
$item :

Item

renderItemActions()

Render Action

private renderItemActions([ $object = null ]) : mixed
Parameters
$object : = null

Data object

renderItems()

Render items

private renderItems() : mixed

renderLabel()

Render label

private renderLabel( $label) : mixed
Parameters
$label :

Label


        
On this page

Search results