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

  • Expression
  • Message
  • MessageApi
  • Rtx
  • RtxDept
  • RtxUser

Class RtxDept

rtx部门管理类

application\modules\message\utils\Rtx
Extended by application\modules\message\utils\RtxDept
Namespace: application\modules\message\utils
Located at system/modules/message/utils/RtxDept.php

Methods summary

public
# __construct( type $server, type $port, type $logicName = 'USERMANAGER' )

构造rtx

构造rtx

Parameters

$server
rtx服务器地址
$port
监听端口
$logicName
逻辑名称,默认是:USERMANAGER

Overrides

application\modules\message\utils\Rtx::__construct
public boolean
# addDept( type $parentDeptId, type $deptId, type $name, type $info )

新增加部门

新增加部门

Parameters

$parentDeptId
父部门编号
$deptId
部门编号
$name
部门名称(中文需要GBK编码)
$info
部门说明(中文需要GBK编码)

Returns

boolean
成功返回true
public boolean
# editDept( type $parentDeptId, type $deptId, type $name, type $info )

编辑部门

编辑部门

Parameters

$parentDeptId
父部门编号
$deptId
部门编号
$name
部门名称(中文需要GBK编码)
$info
部门说明(中文需要GBK编码)

Returns

boolean
成功返回true
public boolean
# deleteDept( integer $deptId )

删除部门

删除部门

Parameters

$deptId
部门ID

Returns

boolean
成功返回true
public boolean
# isExistDept( type $deptName )

检查部门是否已经存在

检查部门是否已经存在

Parameters

$deptName
部门名称(中文需要GBK编码)

Returns

boolean
存在返回true

Methods inherited from application\modules\message\utils\Rtx

haltMessage(), initRtx(), verifyResult()

Properties summary

Properties inherited from application\modules\message\utils\Rtx

$_collection, $_rootObj, $_rtxObj

IBOS open source API documentation generated by ApiGen