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 DepartmentController

CController
Extended by application\core\controllers\Controller
Extended by application\modules\dashboard\controllers\BaseController
Extended by application\modules\dashboard\controllers\OrganizationBaseController
Extended by application\modules\dashboard\controllers\DepartmentController
Namespace: application\modules\dashboard\controllers
Copyright: Copyright © 2012-2013 IBOS Inc
Author: banyanCheung banyan@ibos.com.cn
Located at system/modules/dashboard/controllers/DepartmentController.php

Methods summary

public
# actionAdd( )

增加操作

增加操作

public
# actionEdit( )

编辑操作

编辑操作

public
# actionDel( )

删除操作

删除操作

protected
# get( )

获取部门编辑数据

获取部门编辑数据

protected boolean
# setStructure( integer $index, integer $deptid, integer $pid )

改变前后排序结果

改变前后排序结果

Parameters

$index
目标位置
$deptid
当前部门ID
$pid
目标PID

Returns

boolean
protected
# dealWithBranch( )

处理分支判断

处理分支判断

protected
# dealWithSpecialParams( )

特别参数再处理

特别参数再处理

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

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

Methods inherited from application\core\controllers\Controller

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

Constants summary

Constants inherited from application\modules\dashboard\controllers\OrganizationBaseController

All_PERMISSION, CONTAIN_SUB, MEMBER_LIMIT, NO_PERMISSION, ONLY_SELF, SELF_BRANCH

Constants inherited from application\core\controllers\Controller

DEFAULT_JSONP_HANDLER

Properties summary

public string $selectFormat

下拉选择框字符串格式

下拉选择框字符串格式

# "<option value='\$deptid' \$selected>\$spacer\$deptname</option>"

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

$layout, $loginUrl, $user

IBOS open source API documentation generated by ApiGen