/** * Set the name of this widget * * @return string */ public function setName($name) { $this->_originalName = $name; $this->_name = One_Form_Helper::mangle(trim($name)); }
/** * Mangle the input given, take out all special characters, lowercasing, ... * @param string $input * @return string */ public static function mangle($input) { return One_Form_Helper::mangle($input); }