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