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

  • Atme
  • Comment
  • Feed
  • FeedData
  • FeedDigg
  • Message
  • MessageContent
  • MessageList
  • MessageUser
  • Notify
  • NotifyEmail
  • NotifyMessage
  • NotifySms
  • UserData

Class MessageUser

CActiveRecord
Extended by application\core\model\Model
Extended by application\modules\message\model\MessageUser
Namespace: application\modules\message\model
Located at system/modules/message/model/MessageUser.php

Methods summary

public static
# model( $className = __CLASS__ )
public
# tableName( )
public array
# getMessageUsers( integer $listId, string $field = null )

获取指定私信列表中的成员信息

获取指定私信列表中的成员信息

Parameters

$listId
私信列表ID
$field
私信成员表中的字段

Returns

array
指定私信列表中的成员信息
public boolean
# setMessageAllRead( integer $uid, integer $val = 0 )

设置指定用户所有私信为已读

设置指定用户所有私信为已读

Parameters

$uid
成员用户ID
$val
要设置的值

Returns

boolean
是否设置成功
public boolean
# setMessageIsRead( integer $uid, array $listIds = null, integer $val = 0 )

设置指定用户指定私信为已读

设置指定用户指定私信为已读

Parameters

$uid
成员用户ID
$listIds
私信列表ID数组
$val
要设置的值

Returns

boolean
是否设置成功
public boolean
# deleteMessageByListId( integer $uid, string $listId )

指定用户删除指定的私信列表

指定用户删除指定的私信列表

Parameters

$uid
用户ID
$listId
逗号分隔的私信列表ID

Returns

boolean
是否删除成功

Methods inherited from application\core\model\Model

add(), beforeDelete(), create(), deleteByPk(), fetch(), fetchAll(), fetchAllByAttributes(), fetchAllByPk(), fetchAllSortByPk(), fetchByAttributes(), fetchByPk(), fetchCache(), fetchCaches(), getCacheKey(), getIsAllowCache(), getMaxId(), getModelClass(), init(), modify(), remove(), updateAll(), updateByPk()

Properties summary

Properties inherited from application\core\model\Model

$allowCache, $cacheLife

IBOS open source API documentation generated by ApiGen