PHP Class sieverules, Roundcube-Plugin-SieveRules-Managesieve

Plugin to allow the user to manage their Sieve filters using the managesieve protocol
Author: Philip Weir Based on the Managesieve plugin by Aleksander Machniak Copyright (C) 2009-2014 Philip Weir This program is a Roundcube (http://www.roundcube.net) plugin. For more information see README.md. For configuration see config.inc.php.dist. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Roundcube. If not, see http://www.gnu.org/licenses/.
Inheritance: extends rcube_plugin
Exibir arquivo Open project: JohnDoh/Roundcube-Plugin-SieveRules-Managesieve

Public Properties

Property Type Description
$task

Protected Properties

Property Type Description
$action
$current_ruleset
$script
$sieve
$sieve_error

Public Methods

Method Description
add_rule ( )
cancel_rule ( )
copy_filter ( )
create_rule ( $args )
delete ( )
delete_ruleset ( )
enable_ruleset ( )
fetch_headers ( $attr )
gen_advanced ( $attrib )
gen_advswitch ( $attrib )
gen_examples ( $attrib )
gen_form ( $attrib )
gen_js_list ( )
gen_list ( $attrib )
gen_list_title ( $attrib )
gen_rule_setup ( )
gen_rulelist ( $attrib )
gen_setup ( )
gen_vacation_form ( $attrib )
import ( $type = null, $ruleset = null, $redirect = true )
init ( )
init_html ( )
init_setup ( )
move ( )
rename_ruleset ( $makeCopy = false )
save ( )
settings_tab ( $p )
sieverules_frame ( $attrib )

Protected Methods

Method Description
_rcmail_get_identity ( $id ) get identity record
_startup ( )
_vacation_table ( $ext, $rowid, $defaults, $display, $help_icon )

Private Methods

Method Description
_action_row ( $ext, $actions_table, $rowid, $action, $attrib, $example )
_add_to_array ( &$current, $new )
_get_rule_file ( $file, $parsed = false )
_in_headerarray ( $needle, $haystack )
_rule_list_parts ( $idx, $script )
_rule_row ( $ext, $rules_table, $rule, $predefined_rules, $attrib )
_strip_val ( $str, $allow_html = false, $trim = true )

Method Details

_rcmail_get_identity() protected method

get identity record
protected _rcmail_get_identity ( $id )

_startup() protected method

protected _startup ( )

_vacation_table() protected method

protected _vacation_table ( $ext, $rowid, $defaults, $display, $help_icon )

add_rule() public method

public add_rule ( )

cancel_rule() public method

public cancel_rule ( )

copy_filter() public method

public copy_filter ( )

create_rule() public method

public create_rule ( $args )

delete() public method

public delete ( )

delete_ruleset() public method

public delete_ruleset ( )

enable_ruleset() public method

public enable_ruleset ( )

fetch_headers() public method

public fetch_headers ( $attr )

gen_advanced() public method

public gen_advanced ( $attrib )

gen_advswitch() public method

public gen_advswitch ( $attrib )

gen_examples() public method

public gen_examples ( $attrib )

gen_form() public method

public gen_form ( $attrib )

gen_js_list() public method

public gen_js_list ( )

gen_list() public method

public gen_list ( $attrib )

gen_list_title() public method

public gen_list_title ( $attrib )

gen_rule_setup() public method

public gen_rule_setup ( )

gen_rulelist() public method

public gen_rulelist ( $attrib )

gen_setup() public method

public gen_setup ( )

gen_vacation_form() public method

public gen_vacation_form ( $attrib )

import() public method

public import ( $type = null, $ruleset = null, $redirect = true )

init() public method

public init ( )

init_html() public method

public init_html ( )

init_setup() public method

public init_setup ( )

move() public method

public move ( )

rename_ruleset() public method

public rename_ruleset ( $makeCopy = false )

save() public method

public save ( )

settings_tab() public method

public settings_tab ( $p )

sieverules_frame() public method

public sieverules_frame ( $attrib )

Property Details

$action protected_oe property

protected $action

$current_ruleset protected_oe property

protected $current_ruleset

$script protected_oe property

protected $script

$sieve protected_oe property

protected $sieve

$sieve_error protected_oe property

protected $sieve_error

$task public_oe property

public $task