예제 #1
0
 /**
  * Renders a date field for a model attribute.
  * @param CModel $model the data model.
  * @param string $attribute the attribute.
  * @param array $htmlOptions additional HTML attributes.
  * @return string the generated input field.
  */
 public function dateField($model, $attribute, $htmlOptions = array())
 {
     return BSHtml::activeDateField($model, $attribute, $htmlOptions);
 }