ice framework documentation ice doc v1.10.1
Methods
  • __construct(array $options) : void
    Validator constructor.
  • validate(variable $validation, string $field) : void
    Validate the validator
  • has(variable $key) : bool
    Whether or not an option exists by key.
  • get(variable $key, variable $defaultValue) : void
    Retrieve a single option.
  • set(variable $key, variable $value) : void
    Assigns a value to the specified option.
  • getOptions(variable $keys, array $options) : void
    Get options by type.
Methods Details
  • public function __construct(array $options)

    Validator constructor.
  • public abstract function validate(variable $validation, string $field)

    Validate the validator
  • public function has(variable $key)

    Whether or not an option exists by key.
  • public function get(variable $key, variable $defaultValue)

    Retrieve a single option.
  • public function set(variable $key, variable $value)

    Assigns a value to the specified option.
  • public function getOptions(variable $keys, array $options)

    Get options by type.
  • internal function zephir_init_properties_Ice_Validation_Validator()