Class Horde_Kolab_Server_Object_Kolabpop3account
This class provides a representation of pop3 mail accounts.
Copyright 2008-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
- Horde_Kolab_Server_Object_Base implements Horde_Kolab_Server_Object_Interface
- Horde_Kolab_Server_Object_Top implements Horde_Kolab_Server_Object_Searches
- Horde_Kolab_Server_Object_Kolabpop3account
Category: Kolab
License: LGPL 2.1
Author: Gunnar Wrobel wrobel@pardus.de
Link: http://pear.horde.org/index.php?package=Kolab_Server
Located at Horde/Kolab/Server/Object/Kolabpop3account.php
public
string|PEAR_Error
|
|
public static
array
|
|
public static
mixed
|
#
pop3AccountsForMail( Horde_Kolab_Server $server, string $mail )
Returns the UIDs of the pop3 accounts for the user with the given mail address. |
getActions(),
getFilter(),
prepareObjectInformation()
|
__construct(),
delete(),
exists(),
getExternal(),
getExternalAttributes(),
getGuid(),
getInternal(),
getInternalAttributes(),
readInternal(),
save()
|
string |
ATTRIBUTE_SERVER
Server the account resides on |
#
'externalPop3AccountServer'
|
string |
ATTRIBUTE_LOGINNAME
User name for the account |
#
'externalPop3AccountLoginName'
|
string |
ATTRIBUTE_PASSWORD
Password for the account |
#
'externalPop3EncryptedAccountPassword'
|
string |
ATTRIBUTE_DESCRIPTION
Description of the account |
#
'externalPop3AccountDescription'
|
string |
ATTRIBUTE_MAIL
Mail address of the account |
#
'externalPop3AccountMail'
|
string |
ATTRIBUTE_PORT
Port to connect to |
#
'externalPop3AccountPort'
|
string |
ATTRIBUTE_USESSL
Use SSL when fetching mail from the account? |
#
'externalPop3AccountUseSSL'
|
string |
ATTRIBUTE_USETLS
Use TLS when fetching mail from the account? |
#
'externalPop3AccountUseTLS'
|
string |
ATTRIBUTE_LOGINMETHOD
Login method for the external account |
#
'externalPop3AccountLoginMethod'
|
string |
ATTRIBUTE_CHECKCERTIFICATE
Validate the server certificate when connecting via SSL/TLS? |
#
'externalPop3AccountCheckServerCertificate'
|
string |
ATTRIBUTE_KEEPMAILONSERVER
Should the fetched mail be deleted on the external account or not? |
#
'externalPop3AccountKeepMailOnServer'
|
string |
ATTRIBUTE_OWNERUID
The uid of the owner of this account |
#
'externalPop3AccountOwnerUid'
|
string |
OBJECTCLASS_KOLABEXTERNALPOP3ACCOUNT
The specific object class of this object type |
#
'kolabExternalPop3Account'
|
OBJECTCLASS_TOP
|
public static
array
|
$init_attributes
A structure to initialize the attribute structure for this class. |
#
array(
'defined' => array(
self::ATTRIBUTE_SERVER,
self::ATTRIBUTE_LOGINNAME,
self::ATTRIBUTE_PASSWORD,
self::ATTRIBUTE_DESCRIPTION,
self::ATTRIBUTE_MAIL,
self::ATTRIBUTE_PORT,
self::ATTRIBUTE_USESSL,
self::ATTRIBUTE_USETLS,
self::ATTRIBUTE_LOGINMETHOD,
self::ATTRIBUTE_CHECKCERTIFICATE,
self::ATTRIBUTE_KEEPMAILONSERVER,
),
'derived' => array(
self::ATTRIBUTE_OWNERUID => array(
'method' => 'getParentUid',
),
),
'collapsed' => array(
self::ATTRIBUTE_OWNERUID => array(
'base' => array(
self::ATTRIBUTE_OWNERUID
),
'method' => 'removeAttribute',
),
),
'required' => array(
self::ATTRIBUTE_MAIL,
self::ATTRIBUTE_SERVER,
self::ATTRIBUTE_LOGINNAME,
self::ATTRIBUTE_PASSWORD,
),
'object_classes' => array(
self::OBJECTCLASS_KOLABEXTERNALPOP3ACCOUNT,
),
)
|
$attributes,
$object_classes,
$sort_by
|