Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Ingo_Script_Sieve_Action_Discard
PHP Class Ingo_Script_Sieve_Action_Discard, horde
Author:
Mike Cochrane (
[email protected]
)
Author:
Jan Schneider (
[email protected]
)
Inheritance:
extends
Ingo_Script_Sieve_Action
Mostra file
Open project: horde/horde
Public Methods
Method
Description
check
( ) :
boolean
|
string
Checks if the rule parameters are valid.
generate
( ) :
string
Returns a script snippet representing this rule and any sub-rules.
Method Details
check()
public
method
Checks if the rule parameters are valid.
public
check
( ) :
boolean
|
string
return
boolean
|
string
True if this rule is valid, an error message otherwise.
generate()
public
method
Returns a script snippet representing this rule and any sub-rules.
public
generate
( ) :
string
return
string
A Sieve script snippet.