[ Index ] |
|
Code source de IMP H3 (4.1.5) |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 406 lignes (17 kb) |
Inclus ou requis: | 6 fois |
Référencé: | 0 fois |
Nécessite: | 5 fichiers lib/IMAP.php lib/IMAP/Tree.php lib/IMAP/Client.php lib/Search.php lib/Filter.php |
IMP_Session:: (3 méthodes):
createSession()
loginTasks()
getInitialUrl()
Classe: IMP_Session - X-Ref
Functions required to start an IMP session.createSession($imapuser, $password, $server, $args = array() X-Ref |
Take information posted from a login attempt and try setting up an initial IMP session. Handle Horde authentication, if required, and only do enough work to see if the user can log in. This function should only be called once, when the user first logs in. Creates the $imp session variable with the following entries: '_logintasks' -- Have the login tasks been completed? 'acl' -- See config/servers.php. 'admin' -- See config/servers.php. 'base_protocol' -- Either 'imap' or 'pop3'. 'cache' -- Various IMP libraries can use this variable to cache data. 'file_upload' -- If file uploads are allowed, the max size. 'filteravail' -- Can we apply filters manually? 'imap_server' -- IMAP server capabilities. 'mailbox' -- The current viewable mailbox. 'maildomain' -- See config/servers.php. 'namespace' -- See config/servers.php. 'notepadavail' -- Is listing of notepads available? 'pass' -- The encrypted password. 'port' -- See config/servers.php. 'protocol' -- See config/servers.php. 'quota' -- See config/servers.php. 'search' -- Settings used by the IMP_Search library. 'server' -- The name of the server entry in config/servers.php. 'smime' -- Settings related to the S/MIME viewer. 'smtphost' -- The SMTP host to use instead of the Horde default. 'smtpport' -- The SMTP port to use instead of the Horde default. 'showunsub' -- Show unsusubscribed mailboxes on the folders screen. 'tasklistavail' -- Is listing of tasklists available? 'thismailbox' -- The mailbox containing the current viewable message. 'uniquser' -- The unique user name. 'user' -- The IMAP username. param: string $imapuser The username of the user. param: string $password The password of the user. param: string $server The server to use (see config/servers.php). param: array $args The necessary server information. return: boolean True on success, false on failure. |
loginTasks() X-Ref |
Perform IMP login tasks. |
getInitialUrl($actionID = null, $encode = true) X-Ref |
Returns the initial URL. param: string $actionID The action ID to perform on the initial page. param: boolean $encode If true the argument separator gets encoded. return: string The initial URL. |
Généré le : Thu Nov 29 12:30:07 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |