示例#1
0
 public function __construct($objectId = null)
 {
     parent::__construct("AnimalV2", $objectId, false);
     $query = new ParseQuery("AnimalV2");
     $query->equalTo("objectId", $objectId);
     $this->_animal = $query->first();
 }
示例#2
0
 public function __construct($objectId = null)
 {
     parent::__construct("Camera", $objectId, false);
     $query = new ParseQuery("Camera");
     $query->equalTo("objectId", $objectId);
     $this->_cam = $query->first();
 }
示例#3
0
 public function __construct($className = null, $objectId = null, $isPointer = false)
 {
     parent::__construct($className, $objectId, $isPointer);
     $this->set('location', new ParseGeoPoint(0, 0));
 }
示例#4
0
文件: BaseModel.php 项目: EpykOS/eelh
 public function __construct($className)
 {
     parent::__construct($className);
     $this->className = $className;
 }