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 RtxUser

rtx用户工具类

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

Methods summary

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

调用父类构造并初始化rtx用户和部门管理对象

调用父类构造并初始化rtx用户和部门管理对象

Parameters

$server
$port
$logicName

Overrides

application\modules\message\utils\Rtx::__construct
public boolean
# addUser( type $deptId, type $uid, type $name, type $password )

添加用户

添加用户

Parameters

$deptId
部门编号
$uid
用户编号
$name
登陆名(中文需要是GBK编码)
$password
登陆密码

Returns

boolean
成功返回true,否则返回false
public boolean
# deleteUser( type $uid )

删除用户

删除用户

Parameters

$uid
rtx中的用户编号

Returns

boolean
删除成功返回true,否则返回false
public boolean
# isExistUser( type $name )

检查用户是否已经存在

检查用户是否已经存在

Parameters

$name
要检查的登陆名

Returns

boolean
已经存在返回true,否则返回false
public boolean
# editUser( type $deptId, type $name, type $realName, type $gender, type $mobile )

Parameters

$deptId
部门编号
$name
登陆名
$realName
真实姓名
$gender
性别:0男,1是女
$mobile
手机号码

Returns

boolean
成功返回true,否则返回false
public boolean
# editPassword( type $name, type $password )

修改密码

修改密码

Parameters

$name
登陆名
$password
新密码

Returns

boolean
成功返回true,否则返回false

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