Class Sieve_Else

Description

The Sieve_Else class represents a Sieve Else Statement

Located in /lib/Script/sieve.php (line 1101)


	
			
Variable Summary
 array $_actions
Method Summary
 Sieve_Else Sieve_Else ([Sieve_Action|array $actions = null])
 boolean|string check ()
 void getActions ()
 array requires ()
 void setActions ( $actions)
 string toCode ()
Variables
array $_actions = array() (line 1108)

A list of Sieve_Action objects that go into the else clause.

Methods
Constructor Sieve_Else (line 1116)

Constructor.

Sieve_Else Sieve_Else ([Sieve_Action|array $actions = null])
  • Sieve_Action|array $actions: A Sieve_Action object or a list of Sieve_Action objects.
check (line 1161)

Checks if all sub-rules are valid.

  • return: True if all rules are valid, an error message otherwise.
boolean|string check ()
getActions (line 1150)
void getActions ()
requires (line 1179)

Returns a list of sieve extensions required for this rule and any sub-rules.

  • return: A Sieve extension list.
array requires ()
setActions (line 1145)
void setActions ( $actions)
  • $actions
toCode (line 1130)

Returns a script snippet representing this rule and any sub-rules.

  • return: A Sieve script snippet.
string toCode ()

Documentation generated on Sun, 30 Jan 2011 05:29:30 +0000 by phpDocumentor 1.4.3