常用方法
常用方法
常用方法
常用方法
/** * Renders a text 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. * @see BSHtml::activeTextField */ public function textField($model, $attribute, $htmlOptions = array()) { return BSHtml::activeTextField($model, $attribute, $htmlOptions); }