Modules/Groupware/Email/FolderMapping/Model/ImapMapping.php
\Conjoon_Modules_Groupware_Email_FolderMapping_Model_ImapMapping
Package: Conjoon\Groupware\Email\Model
Parameters
Table data gateway. Models the table <tt>groupware_email_imap_mapping</tt>.
- Parent(s)
- \Conjoon_BeanContext_Decoratable < ?\Zend_Db_Table
- Author
- Thorsten Suckow-Homberg
- Category
- Model
- Uses
- \Conjoon_Db_Table
Properties

string
$_name= ''groupware_email_imap_mapping''
The name of the table in the underlying datastore this class represents.
Default value
'groupware_email_imap_mapping'Details- Type
- string

string
$_primary= ''id''
The name of the column that denotes the primary key for this table
Default value
'id'Details- Type
- string

String
$_tblPrefix= '""'
Default value
""Details- Type
- String
- Inherited_from
- \Conjoon_Db_Table::$$_tblPrefix
Methods

__construct(
string | array $config
=
array(), \unknown_type $definition
=
null
)
:
void
inherited
__construct() - For concrete implementation of Conjoon_Db_Table
Inherited from: \Conjoon_Db_Table::__construct()This constructor automatically prepends the prefix as defined using setTablePrefix() to this table's name.
| Name | Type | Description |
|---|---|---|
| $config | string | array | string can reference a Zend_Registry key for a db adapter OR it can refernece the name of a table |
| $definition | \unknown_type |

getImapMappingsForUser(
int $userId
)
:
\Zend_Db_Table_RowsetReturns all mappings found in the table for the specified user id.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $userId | int | The id of the user to get the mappings for |
| Type | Description |
|---|---|
| \Zend_Db_Table_Rowset |