*/ namespace Home\ORG; class ReturnCode { const SUCCESS = 1; const INVALID = -1; const DB_SAVE_ERROR = -2; const DB_READ_ERROR = -3; const CACHE_SAVE_ERROR = -4; const CACHE_READ_ERROR = -5; const FILE_SAVE_ERROR = -6; const LOGIN_ERROR = -7; const NOT_EXISTS = -8; const JSON_PARSE_FAIL = -9; const TYPE_ERROR = -10; const NUMBER_MATCH_ERROR = -11; const EMPTY_PARAMS = -12; const DATA_EXISTS = -13; const AUTH_ERROR = -14; const OTHER_LOGIN = -16; const VERSION_INVALID = -17; const CURL_ERROR = -18; const PARAM_INVALID = -995; const ACCESS_TOKEN_TIMEOUT = -996; const SESSION_TIMEOUT = -997; const UNKNOWN = -998; const EXCEPTION = -999; static public function getConstants() { $oClass = new \ReflectionClass(__CLASS__); return $oClass->getConstants(); } }