public function __construct($globalMsg = '')
 {
     if ($globalMsg != '') {
         $this->_globalMsg = $globalMsg;
     }
     parent::__construct();
 }
 public function __construct($contentType = '', $data = '')
 {
     if ($contentType != '' && $data != '') {
         $this->_contentType = $contentType;
         $this->data = $data;
     }
     parent::__construct();
 }
 public function __construct($class = '')
 {
     if ($class != '') {
         $this->_className = $class;
     } else {
         $this->throwError('include the className when creating a parseObject');
     }
     parent::__construct();
 }
 public function __construct($function = '')
 {
     $this->_options = array();
     if ($function != '') {
         $this->_functionName = $function;
     } else {
         $this->throwError('include the functionName when creating a parseCloud');
     }
     parent::__construct();
 }
Ejemplo n.º 5
0
 public function __construct($class = '')
 {
     if ($class == 'users') {
         $this->_requestUrl = $class;
     } elseif ($class != '') {
         $this->_requestUrl = 'classes/' . $class;
     } else {
         $this->throwError('include the className when creating a parseQuery');
     }
     parent::__construct();
 }