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 Message

Namespace: application\modules\message\utils
Copyright: Copyright © 2012-2013 IBOS Inc
Author: banyanCheung banyan@ibos.com.cn
Located at system/modules/message/utils/Message.php

Methods summary

public static boolean
# sendSms( string $mobile, string $content = '', string $module = '', integer $touid = 0, integer $uid = 0 )

发送短信

发送短信

Parameters

$mobile
发送的手机号码
$content
要发送的内容
$module
隶属模块
$touid
发送给谁
$uid
由谁发送 (0为 系统发送)

Returns

boolean
发送成功与否
public static
# exportSms( mixed $id )

导出短信记录为csv格式

导出短信记录为csv格式

Parameters

$id
短信记录ID
public static boolean
# getIsImOpen( string $type )

检查某个IM类型有无开启

检查某个IM类型有无开启

Parameters

$type

Returns

boolean
public static boolean
# getIsImBinding( string $type, array $im )

检查某个IM是否绑定成功

检查某个IM是否绑定成功

Parameters

$type
IM类型
$im
该IM配置数组

Returns

boolean
public static
# push( string $type, mixed $toUid, string $push )

消息推送

消息推送

Parameters

$type
推送类型,会调用各个IM适配器的$setter方法
$toUid
发送的用户
$push
推送的内容
IBOS open source API documentation generated by ApiGen