/** * * @param type $value * @return type */ public function validate_thumb_column($value) { $prop = B5F_MTT_Utils::validate_css_number($value['proportion']); if (!$prop) { $value['proportion'] = ''; } else { $value['proportion'] = $prop; } // cleaned value $width = B5F_MTT_Utils::validate_css_px_percent($value['width']); if (!$width) { $value['width'] = ''; } else { $value['width'] = $width; } // cleaned value return $value; }