EJTimeline.php at line 2

Class EJTimeline

CWidget
└─EJTimeline

public class EJTimeline
extends CWidget


Field Summary
array

$CActiveDataProviderConfig

Config array for the events dataprovider of each period.

array

$CListViewConfig

CListView configuration for rendering the events.

string

$attribute

Attriubte name containing date data.

string

$groupby

SQL group condition for events grouping.

string

$headerFormat

Format of the header display.

string

$modelName

The model class name.

boolean

$unixepoch

If group by result is in unixepoch format.

Field Detail

EJTimeline.php at line 30

CActiveDataProviderConfig

public array $CActiveDataProviderConfig = array()

Config array for the events dataprovider of each period.

Since:
0.1

EJTimeline.php at line 35

CListViewConfig

public array $CListViewConfig = array()

CListView configuration for rendering the events. Default itemView set to _view.

Since:
0.1

EJTimeline.php at line 13

attribute

public string $attribute

Attriubte name containing date data.

Since:
0.1

EJTimeline.php at line 19

groupby

public string $groupby

SQL group condition for events grouping. Example: 'to_days(tl_timestamp)' for per day group.

Since:
0.1

EJTimeline.php at line 25

headerFormat

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.

Since:
0.1

EJTimeline.php at line 8

modelName

public string $modelName

The model class name.

Since:
0.1

EJTimeline.php at line 45

unixepoch

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.

Since:
0.1