Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
zii\widgets\jui Namespace Reference

Detailed Description

CJuiDatePicker displays a datepicker.

CJuiDatePicker encapsulates the JUI datepicker plugin.

To use this widget, you may insert the following code in a view:

$this->widget('zii.widgets.jui.CJuiDatePicker',array(
    'name'=>'publishDate',
    // additional javascript options for the date picker plugin
    'options'=>array(
        'showAnim'=>'fold',
    ),
    'htmlOptions'=>array(
        'style'=>'height:20px;'
    ),
));

By configuring the options property, you may specify the options that need to be passed to the JUI datepicker plugin. Please refer to the JUI datepicker documentation for possible options (name-value pairs).

Author
Sebastian Thierer sebat.nosp@m.hi@g.nosp@m.mail..nosp@m.com
Since
1.1