You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php |
|
/** |
|
* Created by Error202 |
|
* Date: 10.02.2018 |
|
*/ |
|
|
|
namespace core\forms; |
|
|
|
use yii\base\Model; |
|
|
|
class SearchForm extends Model |
|
{ |
|
public $query; |
|
|
|
public function rules() { |
|
return [ |
|
['query', 'required'], |
|
['query', 'string'], |
|
]; |
|
} |
|
}
|
|
|