public function getIol_hidden()
{
if ($eyedraw = @json_decode($this->eyedraw)) {
if (is_array($eyedraw)) {
foreach ($eyedraw as $object) {
if (in_array($object->subclass, Yii::app()->params['eyedraw_iol_classes'])) {
return false;
}
}
return true;
}
}
return false;
}