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 Atme

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

Methods summary

public static
# model( $className = __CLASS__ )
public
# tableName( )
public type
# fetchAllAtmeListByUid( integer $uid, integer $limit, integer $offset, type $order = 'atid DESC' )

获取指定用户所有@ 我的列表

获取指定用户所有@ 我的列表

Parameters

$uid
$limit
$offset
$order

Returns

type
public integer
# addAtme( string $module, integer $table, array $content, array $rowId, string $extraUids = null, string $lessUids = null, $url = '', $detail = '' )

添加@Me数据

添加@Me数据

Parameters

$module
$content @Me的相关内容
$table
$row_id 资源ID
$content
$extraUids 额外@用户ID
$rowId
$lessUids 去除@用户ID
$extraUids
$url 消息来源路径
$lessUids
$detail 来源信息描述
$url
$detail

Returns

integer
添加成功后的@ID
public
# updateRecentAt( string $content )

更新最近@的人

更新最近@的人

Parameters

$content
原创微博内容
public array
# getUids( string $content, array $extraUids = null, integer $lessUids = null , array $less_uids,… )

获取@内容中的@用户

获取@内容中的@用户

Parameters

$content
@Me的相关内容
$extraUids
$extra_uids 额外@用户UID
$lessUids
$row_id 资源ID
$less_uids,…
去除@用户ID

Returns

array
用户UID数组
public boolean
# deleteAtme( string $table, string $content, integer $rowId, array $extraUids = null )

删除@Me数据

删除@Me数据

Parameters

$table
表
$content
@Me的相关内容
$rowId
资源ID
$extraUids
额外@用户UID

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