Beispiel #1
0
 public function __construct(DB_Type_Abstract_Base $type, $given)
 {
     parent::__construct($type, "output", "int32 value", $given, 0);
 }
Beispiel #2
0
 public function __construct(DB_Type_Abstract_Base $type, $givenFrom, $givenTo)
 {
     parent::__construct($type, "output", "item `{$type->getKeyFrom()}` <= item `{$type->getKeyTo()}`", "{$givenFrom} > {$givenTo}", 0);
 }
Beispiel #3
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);
 }
Beispiel #4
0
 public function __construct(DB_Type_Abstract_Base $type, $given)
 {
     parent::__construct($type, "output", "length within [{$type->getMin()}, {$type->getMax()}]", $given, 0);
 }
Beispiel #5
0
 public function __construct(DB_Type_Abstract_Base $type, $given)
 {
     $items = join(',', $type->getItems());
     parent::__construct($type, "output", "one of [{$items}]", $given, 0);
 }