[ Index ] |
|
Code source de IMP H3 (4.1.5) |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 139 lignes (5 kb) |
Inclus ou requis: | 6 fois |
Référencé: | 0 fois |
Nécessite: | 2 fichiers lib/MIME/Headers.php lib/IMAP.php |
IMP_Filter:: (5 méthodes):
singleton()
filter()
blacklistMessage()
whitelistMessage()
_processBWlist()
Classe: IMP_Filter - X-Ref
The IMP_Filter:: class contains all functions related to handlingsingleton() X-Ref |
Returns a reference to the global IMP_Filter object, only creating it if it doesn't already exist. This ensures that only one IMP_Filter instance is instantiated for any given session. This method must be invoked as:<code> $imp_filter = &IMP_Filter::singleton(); </code> return: IMP_Filter The IMP_Filter instance. |
filter($mbox) X-Ref |
Runs the filters if they are able to be applied manually. param: string $mbox The mailbox to apply the filters to. |
blacklistMessage($indices) X-Ref |
Adds the From address from the message(s) to the blacklist. param: array $indices See IMP::parseIndicesList(). |
whitelistMessage($indices) X-Ref |
Adds the From address from the message(s) to the whitelist. param: array $indices See IMP::parseIndicesList(). |
_processBWlist($indices, $descrip, $reg1, $reg2) X-Ref |
Internal function to handle adding addresses to [black|white]list. param: array $indices See IMP::parseIndicesList(). param: string $descrip The textual description to use. param: string $reg1 The name of the mail/ registry call to use for param: string $reg2 The name of the mail/ registry call to use for |
Généré le : Thu Nov 29 12:30:07 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |