Esempio n. 1
0
    /**
     * Sanitize a value
     *
     * @param	mixed	$value Value to be sanitized
     * @return string
     */
    public function sanitize($value)
    {
        $value = parent::sanitize($value);

        return JFile::makeSafe($value);
    }
Esempio n. 2
0
 /**
  * Sanitize a value
  *
  * @param	mixed	Value to be sanitized
  * @return string
  */
 protected function _sanitize($value)
 {
     $value = parent::_sanitize($value);
     return JFile::makeSafe($value);
 }