payu2107 / zii

Automatically exported from code.google.com/p/zii
0 stars 0 forks source link

CDetailView support for visible attribute #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice if CDetailView can support setup of 'visible' (false/true) 
attribute, witch will determinate visibility of specified field.

Only add:
if(isset($attribute['visible']) && $attribute['visible'] == false) continue;

to run() method right after checking is_string of attribute

Original issue reported on code.google.com by darek....@gmail.com on 5 Aug 2010 at 12:26