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

  • AnnouncementController
  • ApprovalController
  • BackgroundController
  • BaseController
  • CobindingController
  • CoController
  • CosyncController
  • CreditController
  • CronController
  • DatabaseController
  • DateController
  • DefaultController
  • DepartmentController
  • EmailController
  • ImController
  • IndexController
  • LoginController
  • ModuleController
  • NavController
  • NotifyController
  • OptimizeController
  • OrganizationApiController
  • OrganizationBaseController
  • PermissionsController
  • PositionCategoryController
  • PositionController
  • QuicknavController
  • RoleController
  • SecurityController
  • ServiceController
  • SmsController
  • SplitController
  • StatusController
  • SyscodeController
  • SysstampController
  • UnitController
  • UpdateController
  • UpgradeController
  • UploadController
  • UserController
  • UsergroupController
  • WxbindingController
  • WxController
  • WxsyncController

Class CoController

CController
Extended by application\core\controllers\Controller
Extended by application\modules\dashboard\controllers\BaseController
Extended by application\modules\dashboard\controllers\CoController

Direct known subclasses

application\modules\dashboard\controllers\CobindingController, application\modules\dashboard\controllers\CosyncController

Namespace: application\modules\dashboard\controllers
Copyright: Copyright © 2015 IBOS Inc
Author: mumu 2317216477@qq.com
Located at system/modules/dashboard/controllers/CoController.php

Methods summary

public
# init( )

初始化后台管理所需标识与数组赋值

初始化后台管理所需标识与数组赋值

Overrides

application\modules\dashboard\controllers\BaseController::init
protected
# chkBinding( )

如果没有绑定,则: $this->isBinding、$this->accesstoken、$this->coInfo都是初始值

如果没有绑定,则: $this->isBinding、$this->accesstoken、$this->coInfo都是初始值

protected array
# getCoUser( string $accesstoken )

通过accesstoken获取co用户的信息 如果成功,认为用户验证成功

通过accesstoken获取co用户的信息 如果成功,认为用户验证成功

Parameters

$accesstoken

Returns

array
or boolean 如果accesstoken有效,则返回用户信息数组,失败返回false

Methods inherited from application\modules\dashboard\controllers\BaseController

beforeAction(), getAccess(), getAssetUrl(), imgUpload(), userLogin()

Methods inherited from application\core\controllers\Controller

__construct(), actionError(), ajaxReturn(), error(), filterNotAuthModule(), filterRoutes(), render(), setTitle(), showMessage(), success()

Constants summary

Constants inherited from application\core\controllers\Controller

DEFAULT_JSONP_HANDLER

Properties summary

protected boolean $isBinding
# false

Properties inherited from application\modules\dashboard\controllers\BaseController

$layout, $loginUrl, $user

IBOS open source API documentation generated by ApiGen