class2name($modelClass,true); echo "\$this->breadcrumbs=array( '$label'=>array('index'), 'Manage', );\n"; ?> $this->menu=array( array('label'=>'List ', 'url'=>array('index')), array('label'=>'Create ', 'url'=>array('create')), ); Yii::app()->clientScript->registerScript('search', " $('.search-button').click(function(){ $('.search-form').toggle(); return false; }); $('.search-form form').submit(function(){ $('#class2id($modelClass); ?>-grid').yiiGridView('update', { data: $(this).serialize() }); return false; }); "); ?>
You may optionally enter a comparison operator (<, <=, >, >=, <> or =) at the beginning of each of your search values to specify how the comparison should be done.
'search-button')); ?>"; ?> $this->widget('zii.widgets.grid.CGridView', array( 'id'=>'class2id($modelClass); ?>-grid', 'dataProvider'=>$model->search(), 'filter'=>$model, 'columns'=>array( name."',\n"; } if($count>=7) echo "\t\t*/\n"; ?> array( 'class'=>'CButtonColumn', ), ), )); ?>