I am trying to keep multiple conditions on visible parameter for buttons of CButtonColumn. Below is my code
array(
'class'=>'CButtonColumn',
'buttons'=>array(
'delete'=>array(
'visible'=>'(@$data->status==0 || @$data->created_by!=0)',
),
),
),
If i have a single condition on visible parameter then delete button is working according to condition specified, when i have multiple conditions like above its not satisfying the conditions specified. Can i know how exactly the syntax to be on multiple conditions.