Exemplo n.º 1
0
 /**
  * Constructor
  *
  * @param   string $constraint
  * @param   string $method
  * @param   string $field_name
  * @param   mixed  $field_value
  * @param   array  $options
  *
  * @api
  * @since   1.0.0
  */
 public function __construct($constraint, $method, $field_name, $field_value, array $options = array())
 {
     parent::__construct($constraint, $method, $field_name, $field_value, $options);
     $this->processOption('database');
     $this->processOption('table');
     $this->processOption('key');
 }
Exemplo n.º 2
0
 /**
  * Constructor
  *
  * @param   string $constraint
  * @param   string $method
  * @param   string $field_name
  * @param   mixed  $field_value
  * @param   array  $options
  *
  * @api
  * @since   1.0.0
  */
 public function __construct($constraint, $method, $field_name, $field_value, array $options = array())
 {
     parent::__construct($constraint, $method, $field_name, $field_value, $options);
     $this->processOption('white_list');
     $this->processOption('html_entities');
     $this->processOption('encoding');
 }
Exemplo n.º 3
0
 /**
  * Constructor
  *
  * @param   string $constraint
  * @param   string $method
  * @param   string $field_name
  * @param   mixed  $field_value
  * @param   array  $options
  *
  * @api
  * @since   1.0.0
  */
 public function __construct($constraint, $method, $field_name, $field_value, array $options = array())
 {
     parent::__construct($constraint, $method, $field_name, $field_value, $options);
     $this->getCompareToArrayFromOptions();
 }
Exemplo n.º 4
0
 /**
  * Format
  *
  * @return  mixed
  * @since   1.0.0
  */
 public function format()
 {
     return parent::format();
 }