예제 #1
0
 /**
  * Renders a search query 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.
  * @see BsHtml::activeSearchField
  */
 public function searchQuery($model, $attribute, $htmlOptions = array())
 {
     return BsHtml::activeSearchQueryField($model, $attribute, $htmlOptions);
 }