Class Email
- CActiveRecord
-
application\core\model\Model
-
application\modules\email\model\Email
Namespace: application\modules\email\model
Copyright: 2008-2014 IBOS Inc
Author: banyanCheung banyan@ibos.com.cn
Located at system/modules/email/model/Email.php
Copyright: 2008-2014 IBOS Inc
Author: banyanCheung banyan@ibos.com.cn
Located at system/modules/email/model/Email.php
Methods summary
public static
|
|
public
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
|
#
send( integer $bodyId, array $bodyData, integer $inboxId = application\modules\email\model\BaseController::INBOX_ID, $threadId = 0 )
发送邮件 |
public
|
|
public
integer
|
|
public
array
|
|
public
|
#
fetchAllByArchiveIds( string $field = '*', mixed $conditions = '', $archiveId = 0, $tableAlias = array( 'e', 'eb' ), $offset = null, $length = null, $order = SORT_DESC, $sort = 'sendtime' )
根据条件搜索指定的一个或者多个邮件表中的邮件 |
public
array
|
#
fetchAllByListParam( string $operation, integer $uid = 0, integer $fid = 0, integer $archiveId = 0, integer $limit = 10, integer $offset = 0, $subOp = '' )
根据列表查询参数获得列表数据 |
public
integer
|
#
countUnreadByListParam( string $operation, integer $uid = 0, integer $fid = 0, integer $archiveId = 0, $subOp = '' )
根据列表数据获取指定动作未读邮件数 |
public
integer
|
#
countByListParam( string $operation, integer $uid = 0, integer $fid = 0, integer $archiveId = 0, $subOp = '' )
根据列表查询参数统计总数 |
public
array
|
#
getListParam( string $operation, integer $uid = 0, integer $fid = 0, integer $archiveId = 0, $getUnread = false, $subOp = '' )
获取列表查询参数 |
public
boolean|integer
|
|
public
array
|
|
public
type
|
|
public
integer
|
|
public
array
|
#
fetchAllBySplitCondition( integer $tableId, string $conditions = '', integer $offset = null, integer $limit = null )
查找分表存档的数据列表 |
public
string
|
|
public
array
|
|
public
boolean
|
|
public
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()