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

  • AssignmentController
  • AssignmentFinishedController
  • AssignmentUnfinishedController
  • BaseController
  • CalendarController
  • CompanyfileController
  • DefaultController
  • DiaryController
  • DocsController
  • FileController
  • MailController
  • MsgController
  • NewsController
  • PmController
  • SettingController
  • ShareFileController
  • ThreadController
  • ThreadDetailController
  • WeiboController
  • WorkController

Class BaseController

CController
Extended by application\core\controllers\Controller
Extended by application\modules\mobile\controllers\BaseController

Direct known subclasses

application\modules\mobile\controllers\AssignmentFinishedController, application\modules\mobile\controllers\DefaultController, application\modules\mobile\controllers\WorkController, application\modules\mobile\controllers\DiaryController, application\modules\mobile\controllers\DocsController, application\modules\mobile\controllers\MailController, application\modules\mobile\controllers\MsgController, application\modules\mobile\controllers\NewsController, application\modules\mobile\controllers\PmController, application\modules\mobile\controllers\SettingController, application\modules\mobile\controllers\WeiboController

Namespace: application\modules\mobile\controllers
Copyright: Copyright © 2012-2013 IBOS Inc
Author: Aeolus Aeolus@ibos.com.cn
Located at system/modules/mobile/controllers/BaseController.php

Methods summary

public
# __set( string $name, mixed $value )

设置相对应属性值

设置相对应属性值

Parameters

$name
$value
public mixed
# __get( string $name )

获取对应属性值

获取对应属性值

Parameters

$name

Returns

mixed
public boolean
# __isset( string $name )

检测$_attributes数组里的值是否存在

检测$_attributes数组里的值是否存在

Parameters

$name

Returns

boolean
public
# init( )

初始化所需标识与数组赋值

初始化所需标识与数组赋值

See

checkAccess

Overrides

application\core\controllers\Controller::init
public integer
# getUid( )

获取当前uid

获取当前uid

Returns

integer
public array
# getUser( )

获取当前用户资料

获取当前用户资料

Returns

array
final public
# userLogin( )

要求手机登陆

要求手机登陆

protected integer
# getAccess( )

获取后台管理权限标识码

获取后台管理权限标识码

Returns

integer
public boolean
# filterRoutes( string $routes )

ICAPPLICATION组件会调用各控制器的此方法进行验证,子类可重写这个实现各自的验证 规则

ICAPPLICATION组件会调用各控制器的此方法进行验证,子类可重写这个实现各自的验证 规则

Parameters

$routes

Returns

boolean

Overrides

application\core\controllers\Controller::filterRoutes

Methods inherited from application\core\controllers\Controller

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

Constants summary

TIMESTAMP
# application\modules\mobile\controllers\BaseController::TIMESTAMP

Constants inherited from application\core\controllers\Controller

DEFAULT_JSONP_HANDLER

Properties summary

public boolean $layout

移动端模块不适用全局layout

移动端模块不适用全局layout

# false
protected string $defaultController

默认控制器

默认控制器

# 'mobile/default/index'
protected array $_extraAttributes
# array()
IBOS open source API documentation generated by ApiGen