TCardView
extends TElement
in package
Card
Tags
Table of Contents
Properties
- $colorField : mixed
- $contentField : mixed
- $contentHeight : mixed
- $itemActionGroups : mixed
- $itemActions : mixed
- $itemClass : mixed
- $itemDatabase : mixed
- $itemHeight : mixed
- $items : mixed
- $itemTemplate : mixed
- $searchAttributes : mixed
- $templatePath : mixed
- $titleField : mixed
- $titleTemplate : mixed
- $useButton : mixed
Methods
- __construct() : mixed
- Class Constructor
- addAction() : mixed
- Add item action
- addActionGroup() : mixed
- Add action group
- addItem() : mixed
- Add item
- clear() : mixed
- Clear items
- enableSearch() : mixed
- Enable fuse search
- setColorAttribute() : mixed
- Set color attribute
- setContentAttribute() : mixed
- Set content attribute
- setContentHeight() : mixed
- Set content min height
- setItemClass() : mixed
- Set custom class card
- setItemDatabase() : mixed
- Set item min database
- setItemHeight() : mixed
- Set item min height
- setItemTemplate() : mixed
- Set card item template for rendering
- setTemplatePath() : mixed
- Set card item template for rendering
- setTitleAttribute() : mixed
- Set title attribute
- setTitleTemplate() : mixed
- Set card title template for rendering
- setUseButton() : mixed
- Display icons as buttons
- show() : mixed
- Show cards
- renderItem() : mixed
- Render item
- renderItemActions() : mixed
- Render item actions
Properties
$colorField
protected
mixed
$colorField
$contentField
protected
mixed
$contentField
$contentHeight
protected
mixed
$contentHeight
$itemActionGroups
protected
mixed
$itemActionGroups
$itemActions
protected
mixed
$itemActions
$itemClass
protected
mixed
$itemClass
$itemDatabase
protected
mixed
$itemDatabase
$itemHeight
protected
mixed
$itemHeight
$items
protected
mixed
$items
$itemTemplate
protected
mixed
$itemTemplate
$searchAttributes
protected
mixed
$searchAttributes
$templatePath
protected
mixed
$templatePath
$titleField
protected
mixed
$titleField
$titleTemplate
protected
mixed
$titleTemplate
$useButton
protected
mixed
$useButton
Methods
__construct()
Class Constructor
public
__construct() : mixed
addAction()
Add item action
public
addAction( $action, $label[, $icon = NULL ][, $display_condition = NULL ][, mixed $title = NULL ]) : mixed
Parameters
addActionGroup()
Add action group
public
addActionGroup( $title, $actions, $icon) : mixed
Parameters
addItem()
Add item
public
addItem( $object) : mixed
Parameters
clear()
Clear items
public
clear() : mixed
enableSearch()
Enable fuse search
public
enableSearch( $input, $attribute) : mixed
Parameters
setColorAttribute()
Set color attribute
public
setColorAttribute( $field) : mixed
Parameters
setContentAttribute()
Set content attribute
public
setContentAttribute( $field) : mixed
Parameters
setContentHeight()
Set content min height
public
setContentHeight( $height) : mixed
Parameters
setItemClass()
Set custom class card
public
setItemClass( $class) : mixed
Parameters
setItemDatabase()
Set item min database
public
setItemDatabase( $database) : mixed
Parameters
setItemHeight()
Set item min height
public
setItemHeight( $height) : mixed
Parameters
setItemTemplate()
Set card item template for rendering
public
setItemTemplate( $template) : mixed
Parameters
setTemplatePath()
Set card item template for rendering
public
setTemplatePath( $path) : mixed
Parameters
setTitleAttribute()
Set title attribute
public
setTitleAttribute( $field) : mixed
Parameters
setTitleTemplate()
Set card title template for rendering
public
setTitleTemplate( $template) : mixed
Parameters
setUseButton()
Display icons as buttons
public
setUseButton() : mixed
show()
Show cards
public
show() : mixed
renderItem()
Render item
private
renderItem(mixed $item) : mixed
Parameters
- $item : mixed
renderItemActions()
Render item actions
private
renderItemActions([mixed $object = NULL ]) : mixed
Parameters
- $object : mixed = NULL