CWidget
└─EJTimeline
public class EJTimeline
extends CWidget
Field Summary | |
---|---|
array | Config array for the events dataprovider of each period. |
array | CListView configuration for rendering the events. |
string | Attriubte name containing date data. |
string | SQL group condition for events grouping. |
string | Format of the header display. |
string | The model class name. |
boolean | If group by result is in unixepoch format. |
public array $CActiveDataProviderConfig = array()
Config array for the events dataprovider of each period.
public array $CListViewConfig = array()
CListView configuration for rendering the events. Default itemView set to _view.
public string $attribute
Attriubte name containing date data.
public string $groupby
SQL group condition for events grouping. Example: 'to_days(tl_timestamp)' for per day group.
public string $headerFormat
Format of the header display. Will be used in the php date 1st param. If not set the events will be grouped per attribute.
public string $modelName
The model class name.
public boolean $unixepoch = false
If group by result is in unixepoch format. If you set headerFormat then the php date function is used to format the header. So if the results for each group is in unixepoch ( either the result of group by if set, or either you have no group by set and then the attribute is in unixepoch ) and you need headerFormat turn this variable to true.