visible parameter for buttons of CButtonColumn

I am trying to keep multiple conditions on visible parameter for buttons of CButtonColumn. Below is my code





            '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.

The multiple condition which you mentioned above should work perfectly. Please check the operators and result carefully.

I tried by checking single conditions its working fine, if i have multiple conditions its not satisfying conditions.