Exemple #1
0
 /**
  * Set the name of this widget
  *
  * @return string
  */
 public function setName($name)
 {
     $this->_originalName = $name;
     $this->_name = One_Form_Helper::mangle(trim($name));
 }
Exemple #2
0
 /**
  * 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);
 }