function hasAttribute($attr_name) { if ($attr_name == 'options') { return true; } return eZSurveyQuestion::hasAttribute($attr_name); }
function hasAttribute($attr_name) { if ($attr_name == 'options' or $attr_name == 'extra_info') { return true; } $hasAttribute = eZSurveyQuestion::hasAttribute($attr_name); return $hasAttribute; }