Example #1
0
 /**
  * Sanitize value
  *
  * @return mixed
  */
 protected function sanitize()
 {
     return $this->sanitizeFloat(parent::sanitize());
 }
Example #2
0
 /**
  * Sanitize value
  *
  * @return mixed
  */
 protected function sanitize()
 {
     return intval(preg_replace('/\\D/Ss', '', parent::sanitize()));
 }
Example #3
0
 /**
  * Sanitize value
  *
  * @return mixed
  */
 protected function sanitize()
 {
     return round(doubleval(parent::sanitize()), $this->getParam(self::PARAM_E));
 }
Example #4
0
 /**
  * Sanitize value
  *
  * @return mixed
  */
 protected function sanitize()
 {
     return intval(preg_replace(static::SANITIZE_PATTERN, '', parent::sanitize()));
 }
Example #5
0
 /**
  * Sanitize value
  *
  * @return mixed
  */
 protected function sanitize()
 {
     return intval(parent::sanitize());
 }