コード例 #1
0
 public function __construct($globalMsg = '')
 {
     if ($globalMsg != '') {
         $this->_globalMsg = $globalMsg;
     }
     parent::__construct();
 }
コード例 #2
0
 public function __construct($contentType = '', $data = '')
 {
     if ($contentType != '' && $data != '') {
         $this->_contentType = $contentType;
         $this->data = $data;
     }
     parent::__construct();
 }
コード例 #3
0
 public function __construct($name)
 {
     parent::__construct();
     if ($name != '') {
         $this->_className = $name;
     } else {
         $this->throwError('include the className when creating a ParseObject');
     }
 }
コード例 #4
0
 public function __construct($function = '')
 {
     $this->_options = array();
     if ($function != '') {
         $this->_functionName = $function;
     } else {
         $this->throwError('include the functionName when creating a ParseCloud');
     }
     parent::__construct();
 }
コード例 #5
0
 public function __construct($class = '')
 {
     if ($class == 'users' || $class == 'installation') {
         $this->_requestUrl = $class;
     } elseif ($class != '') {
         $this->_requestUrl = 'classes/' . $class;
     } else {
         $this->throwError('include the className when creating a ParseQuery');
     }
     parent::__construct();
 }