public function __construct(DB_Type_Abstract_Base $type, $given) { parent::__construct($type, "output", "int32 value", $given, 0); }
public function __construct(DB_Type_Abstract_Base $type, $givenFrom, $givenTo) { parent::__construct($type, "output", "item `{$type->getKeyFrom()}` <= item `{$type->getKeyTo()}`", "{$givenFrom} > {$givenTo}", 0); }
public function __construct(DB_Type_Abstract_Base $type, $given) { parent::__construct($type, "output", "YY (or YYYY) or YY-MM or YY-MM-DD", $given, 0); }
public function __construct(DB_Type_Abstract_Base $type, $given) { parent::__construct($type, "output", "length within [{$type->getMin()}, {$type->getMax()}]", $given, 0); }
public function __construct(DB_Type_Abstract_Base $type, $given) { $items = join(',', $type->getItems()); parent::__construct($type, "output", "one of [{$items}]", $given, 0); }