Ingo_ScriptThe Ingo_Script:: class provides a common abstracted interface to the script-generation subclasses.
$Horde: ingo/lib/Script.php,v 1.30.10.11 2009/12/21 23:19:05 jan Exp $
See the enclosed file LICENSE for license information (ASL). If you did not receive this file, see http://www.horde.org/licenses/asl.php.
Located in /lib/Script.php (line 25)
| Class | Description |
|---|---|
Ingo_Script_sieve
|
The Ingo_Script_sieve class represents a Sieve Script. |
Ingo_Script_imap
|
The Ingo_Script_imap:: class represents an IMAP client-side script generator. |
Ingo_Script_procmail
|
The Ingo_Script_procmail:: class represents a Procmail script generator. |
Ingo_Script_maildrop
|
The Ingo_Script_maildrop:: class represents a maildrop script generator. |
array
$_actions
= array() (line 40)
The list of actions allowed (implemented) for this driver.
This SHOULD be defined in each subclass.
boolean
$_casesensitive
= false (line 78)
Can tests be case sensitive?
array
$_categories
= array() (line 48)
The categories of filtering allowed.
This SHOULD be defined in each subclass.
boolean
$_ondemand
= false (line 99)
Can this driver perform on demand filtering?
array
$_params
= array() (line 32)
The script class' additional parameters.
boolean
$_scriptfile
= false (line 106)
Does the driver require a script file to be generated?
array
$_special_types
= array() (line 71)
A list of any special types that this driver supports.
boolean
$_supportIMAPFlags
= false (line 85)
Does the driver support setting IMAP flags?
boolean
$_supportStopScript
= false (line 92)
Does the driver support the stop-script option?
array
$_tests
= array() (line 56)
The list of tests allowed (implemented) for this driver.
This SHOULD be defined in each subclass.
array
$_types
= array() (line 64)
The types of tests allowed (implemented) for this driver.
This SHOULD be defined in each subclass.
Constructor Ingo_Script (line 156)
Constructor.
apply (line 352)
Apply the filters now.
This is essentially a wrapper around perform() that allows that function to be called from within Ingo ensuring that all necessary parameters are set.
availableActions (line 198)
Returns the available actions for this driver.
availableCategories (line 208)
Returns the available categories for this driver.
availableTests (line 218)
Returns the available tests for this driver.
availableTypes (line 228)
Returns the available test types for this driver.
canApply (line 337)
Is the apply() function available?
caseSensitive (line 248)
Returns if this driver allows case sensitive searches.
excludeRegexp (line 188)
Returns a regular expression that should catch mails coming from most daemons, mailing list, newsletters, and other bulk.
This is the expression used for procmail's FROM_DAEMON, including all mailinglist headers.
factory (line 118)
Attempts to return a concrete Ingo_Script instance based on $script.
generate (line 303)
Generates the script to do the filtering specified in the rules.
generateAvailable (line 290)
Can this driver generate a script file?
imapFlags (line 258)
Returns if this driver allows IMAP flags to be set.
perform (line 327)
Perform the filtering specified in the rules.
performAvailable (line 313)
Can this driver perform on demand filtering?
specialTypes (line 238)
Returns any test types that are special for this driver.
stopScript (line 268)
Returns if this driver supports the stop-script option.
toCode (line 280)
Returns a script previously generated with generate().
Documentation generated on Sun, 30 Jan 2011 05:29:28 +0000 by phpDocumentor 1.4.3