ice framework documentation ice doc v1.6.2
Class Ice

Filter

Methods
  • add(string $name, variable $body) : void
    Adds a user-defined filter.
  • sanitize(variable $value, variable $filters) : void
    Sanitizes a value with a specified single or set of filters.
  • doSanitize(string $value, string $filter) : void
    Internal sanitize.
Methods Details
  • public function add(string $name, variable $body)

    Adds a user-defined filter.
  • public function sanitize(variable $value, variable $filters)

    Sanitizes a value with a specified single or set of filters.
  • protected function doSanitize(string $value, string $filter)

    Internal sanitize.