ice framework documentation ice doc v1.10.1
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(variable $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(variable $value, string $filter)

    Internal sanitize.