Exemplo n.º 1
0
 public function __construct($objectId = null)
 {
     parent::__construct("AnimalV2", $objectId, false);
     $query = new ParseQuery("AnimalV2");
     $query->equalTo("objectId", $objectId);
     $this->_animal = $query->first();
 }
Exemplo n.º 2
0
 public function __construct($objectId = null)
 {
     parent::__construct("Camera", $objectId, false);
     $query = new ParseQuery("Camera");
     $query->equalTo("objectId", $objectId);
     $this->_cam = $query->first();
 }
Exemplo n.º 3
0
 public function __construct($className = null, $objectId = null, $isPointer = false)
 {
     parent::__construct($className, $objectId, $isPointer);
     $this->set('location', new ParseGeoPoint(0, 0));
 }
Exemplo n.º 4
0
 public function __construct($className)
 {
     parent::__construct($className);
     $this->className = $className;
 }