public function noHTML($complete = false)
    {   // Disallow: $, ", ', <, >
        $array = [];
        $fn = $this->closure_array_walk(function ($key) use (&$array) {
            return $array[] = htmlspecialchars($key);
        });

        if ($complete) {
            return $fn($array);
        }

        return $this;
    }
public function noHTML($complete = false)
    {   // Disallow: $, ", ', <, >
        $array = [];
        $fn = $this->closure_array_walk(function ($key) use (&$array) {
            return $array[] = htmlspecialchars($key);
        });

        if ($complete) {
            return $fn($array);
        }

        return $this;
    }
public function noHTML ( $ complete = false ) { // Disallow: $, ", ', <, > $ array = [ ] ; $ fn = $ this -> closure_array_walk ( function ( $ key ) use ( & $ array ) { return $ array [ ] = htmlspecialchars ( $ key ) ; } ) ; if ( $ complete ) { return $ fn ( $ array ) ; } return $ this ; }
Removes HTML chars from a given set
@param bool $complete if set to true than $this
will be returned
@return array|bool|Request|mixed
Removes HTML chars from a given set