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($name) { parent::__construct(); if ($name != '') { $this->_className = $name; } else { $this->throwError('include the className when creating a ParseObject'); } }
public function __construct($function = '') { $this->_options = array(); if ($function != '') { $this->_functionName = $function; } else { $this->throwError('include the functionName when creating a ParseCloud'); } parent::__construct(); }
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(); }