77 $this->httpStatusCode = $code;
130 $this->variables[$key] = $val;
141 if(is_object($object))
143 $object = get_object_vars($object);
146 if(is_array($object))
148 foreach($object as $key => $val)
150 $this->variables[$key] = $val;
163 return $this->variables[$key];
173 $args = func_get_args();
175 foreach(
$args as $arg)
177 $output->{$arg} = $this->
get($arg);
189 return $this->variables;
200 foreach($this->variables as $key => $val)
215 return ($this->error == 0);
225 return $this->toBool();
229 if(version_compare(PHP_VERSION,
'7.2',
'<') && !class_exists(
'Object',
false))
231 class_alias(
'BaseObject',
'Object');
high class of message module
setHttpStatusCode($code= '200')
__construct($error=0, $message= 'success')
setMessage($message= 'success', $type=NULL)