6 'Jobs' => array(
'index'),
11 array(
'label' =>
'List Jobs',
'url' => array(
'index')),
14 Yii::app()->clientScript->registerScript(
'search',
"
15 $('.search-button').click(function(){
16 $('.search-form').toggle();
19 $('.search-form form').submit(function(){
20 $('#jobs-grid').yiiGridView('update', {
21 data: $(this).serialize()
31 You may optionally enter a comparison operator (<b><</b>, <b><=</b>, <b>></b>, <b>>=</b>, <b><></b>
32 or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
35 <?php echo CHtml::link(
'Advanced Search',
'#', array(
'class' =>
'search-button')); ?>
36 <div
class=
"search-form" style=
"display:none">
37 <?php $this->renderPartial(
'_search', array(
40 </div><!-- search-form -->
42 <?php $this->widget(
'zii.widgets.grid.CGridView', array(
44 'dataProvider' => $model->search(),
52 'name' =>
'job_status_id',
53 'value' =>
'JobStatus::getStatusName($data["job_status_id"])',
60 'class' =>
'CButtonColumn',
61 'template' =>
'{View}',
62 'htmlOptions' => array(
'class' =>
'bttn-clmn'),
66 'url' =>
'Yii::app()->createUrl("job/jobsLogs/admin?JobsLogs[job_id]=$data[id]")',
67 'options' => array(
'class' =>
'act-btn'),
72 'class' =>
'CButtonColumn',