IBOS open source
  • Namespace
  • Class

Namespaces

  • application
    • core
      • cache
        • driver
        • provider
      • components
      • controllers
      • engines
        • local
        • sae
      • model
      • modules
      • utils
      • widgets
    • modules
      • article
        • controllers
        • core
        • model
        • utils
      • calendar
        • controllers
        • model
        • utils
      • contact
        • controllers
        • model
        • utils
      • dashboard
        • controllers
        • model
        • utils
      • department
        • components
        • model
        • utils
      • diary
        • components
        • controllers
        • model
        • utils
        • widgets
      • email
        • controllers
        • core
        • model
        • utils
      • main
        • behaviors
        • components
        • controllers
        • model
        • utils
        • widgets
      • message
        • controllers
        • core
          • co
          • wx
            • callback
            • event
        • model
        • utils
      • mobile
        • components
        • controllers
        • utils
      • position
        • components
        • model
        • utils
      • recruit
        • components
        • controllers
        • core
        • model
        • utils
        • widgets
      • role
        • model
        • utils
      • user
        • components
        • controllers
        • model
        • utils
      • vote
        • components
        • controllers
        • model
        • utils
      • weibo
        • controllers
        • core
        • model
        • utils

Classes

  • Api
  • ApiCode
  • Attach
  • Cache
  • Cloud
  • Convert
  • Credit
  • Database
  • DateTime
  • Env
  • File
  • Ftp
  • IBOS
  • Image
  • Mail
  • Module
  • Org
  • Page
  • PHPExcel
  • String
  • System
  • Upgrade
  • Url
  • WebSite
  • Xml
  • XMLParse

Class ApiCode

CApplicationComponent
Extended by application\core\utils\System
Extended by application\core\utils\ApiCode
Namespace: application\core\utils
Located at system/core/utils/ApiCode.php

Methods summary

public static object
# getInstance( $className = __CLASS__ )

单例化api

单例化api

Returns

object

Overrides

application\core\utils\System::getInstance
public type
# getCurlMsg( type $curlNum, type $curlMsg, type $useLang = true )

获取curl请求结果信息

获取curl请求结果信息

Parameters

$curlNum
$curlMsg
$useLang

Returns

type

Constants summary

string CURL_ERROR

libcurl error codes

libcurl error codes

Link

http://curl.haxx.se/libcurl/c/libcurl-errors.html
# 'error'
string CURLE_OK
# '0'
string CURLE_UNSUPPORTED_PROTOCOL
# '1'
string CURLE_FAILED_INIT
# '2'
string CURLE_URL_MALFORMAT
# '3'
string CURLE_NOT_BUILT_IN
# '4'
string CURLE_COULDNT_RESOLVE_PROXY
# '5'
string CURLE_COULDNT_RESOLVE_HOST
# '6'
string CURLE_COULDNT_CONNECT
# '7'
string CURLE_FTP_WEIRD_SERVER_REPLY
# '8'
string CURLE_REMOTE_ACCESS_DENIED
# '9'
string CURLE_FTP_ACCEPT_FAILED
# '10'
string CURLE_FTP_WEIRD_PASS_REPLY
# '11'
string CURLE_FTP_ACCEPT_TIMEOUT
# '12'
string CURLE_FTP_WEIRD_PASV_REPLY
# '13'
string CURLE_FTP_WEIRD_227_FORMAT
# '14'
string CURLE_FTP_CANT_GET_HOST
# '15'
string CURLE_HTTP2
# '16'
string CURLE_FTP_COULDNT_SET_TYPE
# '17'
string CURLE_PARTIAL_FILE
# '18'
string CURLE_FTP_COULDNT_RETR_FILE
# '19'
string CURLE_QUOTE_ERROR
# '21'
string CURLE_HTTP_RETURNED_ERROR
# '22'
string CURLE_WRITE_ERROR
# '23'
string CURLE_UPLOAD_FAILED
# '25'
string CURLE_READ_ERROR
# '26'
string CURLE_OUT_OF_MEMORY
# '27'
string CURLE_OPERATION_TIMEDOUT
# '28'
string CURLE_FTP_PORT_FAILED
# '30'
string CURLE_FTP_COULDNT_USE_REST
# '31'
string CURLE_RANGE_ERROR
# '33'
string CURLE_HTTP_POST_ERROR
# '34'
string CURLE_SSL_CONNECT_ERROR
# '35'
string CURLE_BAD_DOWNLOAD_RESUME
# '36'
string CURLE_FILE_COULDNT_READ_FILE
# '37'
string CURLE_LDAP_CANNOT_BIND
# '38'
string CURLE_LDAP_SEARCH_FAILED
# '39'
string CURLE_FUNCTION_NOT_FOUND
# '41'
string CURLE_ABORTED_BY_CALLBACK
# '42'
string CURLE_BAD_FUNCTION_ARGUMENT
# '43'
string CURLE_INTERFACE_FAILED
# '45'
string CURLE_TOO_MANY_REDIRECTS
# '47'
string CURLE_UNKNOWN_OPTION
# '48'
string CURLE_TELNET_OPTION_SYNTAX
# '49'
string CURLE_PEER_FAILED_VERIFICATION
# '51'
string CURLE_GOT_NOTHING
# '52'
string CURLE_SSL_ENGINE_NOTFOUND
# '53'
string CURLE_SSL_ENGINE_SETFAILED
# '54'
string CURLE_SEND_ERROR
# '55'
string CURLE_RECV_ERROR
# '56'
string CURLE_SSL_CERTPROBLEM
# '58'
string CURLE_SSL_CIPHER
# '59'
string CURLE_SSL_CACERT
# '60'
string CURLE_BAD_CONTENT_ENCODING
# '61'
string CURLE_LDAP_INVALID_URL
# '62'
string CURLE_FILESIZE_EXCEEDED
# '63'
string CURLE_USE_SSL_FAILED
# '64'
IBOS open source API documentation generated by ApiGen