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

  • Email
  • EmailBody
  • EmailFolder
  • EmailWeb

Class EmailFolder

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

Methods summary

public static
# model( $className = __CLASS__ )
public
# tableName( )
public array
# fetchAllUserFolderByUid( integer $uid, string $search = 'all' )

根据uid获取所有非系统文件夹

根据uid获取所有非系统文件夹

Parameters

$uid
用户id
$search
查询类型

Returns

array
public string
# fetchFolderNameByWebId( integer $id )

根据外部邮箱ID查找文件夹名字

根据外部邮箱ID查找文件夹名字

Parameters

$id
外部邮箱ID

Returns

string
public integer
# getUsedSize( integer $uid )

获取用户已用数量

获取用户已用数量

Parameters

$uid

Returns

integer
public integer
# getFolderSize( integer $uid, integer $fid )

获取指定文件夹的大小

获取指定文件夹的大小

Parameters

$uid
用户ID
$fid
文件夹ID

Returns

integer
统计的大小
public integer
# getSysFolderSize( integer $uid, integer $alias )

获取指定系统文件夹的大小

获取指定系统文件夹的大小

Parameters

$uid
用户ID
$alias
$fid 系统文件夹别名

Returns

integer

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