public function sanitize($input = false) {

        if($input) {

            if(Validate::isArray($input)) {

                return filter_var_array($input,FILTER_SANITIZE_STRING);
            } 
            if(Validate::isString($input)) {
                
                return filter_var($input, FILTER_SANITIZE_STRING);
            } 
        }

        return false;
    }
public function sanitize($input = false) {

        if($input) {

            if(Validate::isArray($input)) {

                return filter_var_array($input,FILTER_SANITIZE_STRING);
            } 
            if(Validate::isString($input)) {
                
                return filter_var($input, FILTER_SANITIZE_STRING);
            } 
        }

        return false;
    }
public function sanitize ( $ input = false ) { if ( $ input ) { if ( Validate :: isArray ( $ input ) ) { return filter_var_array ( $ input , FILTER_SANITIZE_STRING ) ; } if ( Validate :: isString ( $ input ) ) { return filter_var ( $ input , FILTER_SANITIZE_STRING ) ; } } return false ; }
Sanitize input.
@param array || string
@return array || string
Sanitize input .