Exemplo n.º 1
0
 /**
  * Constructor
  *
  * @param  int ordinal
  * @param  string name
  * @param  webservices.rest.RestSerializer serializer
  * @param  webservices.rest.RestDeserializer deserializer
  */
 public function __construct($ordinal, $name, $serializer, $deserializer)
 {
     parent::__construct($ordinal, $name);
     $this->serializer = $serializer;
     $this->deserializer = $deserializer;
 }
Exemplo n.º 2
0
 /**
  * Constructor
  * 
  * @param int ordinal default 0
  * @param string name default ''
  * @param string op The query operator (see constants)
  */
 public function __construct($ordinal, $name, $op)
 {
     parent::__construct($ordinal, $name);
     $this->op = $op;
 }
Exemplo n.º 3
0
 /**
  * Creates a new fixture
  *
  * @param  int $ordinal
  * @param  string $name
  * @param  string $string
  * @param  var $object
  */
 public function __construct($ordinal, $name, $string, $object)
 {
     parent::__construct($ordinal, $name);
     $this->string = $string;
     $this->object = $object;
 }