EmailBoxUtil Class Reference

Static Public Member Functions

static createBoxAndDefaultFoldersByUserAndName (User $user, $name)
static getDefaultEmailBoxByUser (User $user, $refreshUserModel=true)

Static Protected Member Functions

static refreshModel (RedBeanModel &$model)

Detailed Description

Helper class for working with email boxes.

Definition at line 40 of file EmailBoxUtil.php.


Member Function Documentation

static createBoxAndDefaultFoldersByUserAndName ( User user,
name 
) [static]

Given a box name and user, create an email box with the default folders.

Parameters:
User $user
string $name

Definition at line 47 of file EmailBoxUtil.php.

static getDefaultEmailBoxByUser ( User user,
refreshUserModel = true 
) [static]
Parameters:
User $user
bool $refreshUser
Returns:
EmailBox|void
Exceptions:
NotImplementedException 
NotSupportedException 

Definition at line 109 of file EmailBoxUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jul 18 07:10:56 2019