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 WebSite

CApplicationComponent
Extended by application\core\utils\System
Extended by application\core\utils\Api
Extended by application\core\utils\WebSite
Namespace: application\core\utils
Copyright: Copyright © 2012-2013 IBOS Inc
Author: gzhzh gzhzh@ibos.com.cn
Located at system/core/utils/WebSite.php

Methods summary

public static object
# getInstance( $className = __CLASS__ )

单例调用方法

单例调用方法

Returns

object

Overrides

application\core\utils\Api::getInstance
public string
# build( string $route, array $param = array() )

创建URL并返回

创建URL并返回

Parameters

$route
$param

Returns

string
public type
# fetch( string $route, array $param = array(), string $method = 'get' )

获取API调用结果

获取API调用结果

Parameters

$route
路由
$param
附加提交参数
$method
提交方法

Returns

type
public string
# getUrl( )

返回官网服务调用地址

返回官网服务调用地址

Returns

string

Methods inherited from application\core\utils\Api

buildUrl(), fetchResult(), getOpt(), setOpt()

Constants summary

string SITE_URL
# 'http://www.ibos.com.cn/'

Properties summary

Properties inherited from application\core\utils\Api

$curlopt

IBOS open source API documentation generated by ApiGen