+++ /dev/null
-<?php
-/********************************************************************************
-* include/action.inc.php : The class representing an Action
-* ----------------------
-*
-* This file is part of the philter distribution
-* Copyright: See COPYING files that comes with this distribution
-*
-* vim: set expandtab shiftwidth=4 tabstop=4 softtabstop=4 textwidth=100:
-* $Id$
-********************************************************************************/
-
-class Action extends CoreObject {
- function Action() {
- $this->CoreObject();
- }
-
- function to_string() {
- return "";
- }
-}
-
-?>
+++ /dev/null
-<?php
-/********************************************************************************
-* include/match.inc.php : The class representing a procmail Match rule
-* ---------------------
-*
-* This file is part of the philter distribution
-* Copyright: See COPYING files that comes with this distribution
-*
-* vim: set expandtab shiftwidth=4 tabstop=4 softtabstop=4 textwidth=100:
-* $Id$
-********************************************************************************/
-
-class Match extends CoreObject {
- function Match() {
- $this->CoreObject();
- }
-
- function to_string() {
- return "";
- }
-}
-
-?>
'path' => array('procmail', 'spool'),
'match_plugins' => array(),
'action_plugins' => array(),
- 'global_plugin' => array()
+ 'global_plugin' => array(),
+ 'i18n' => array()
);
$this->err = "";
}
+ /** returns the i18n string
+ * @param $_index the index of the string
+ * @returns the string or false
+ */
+ function i18n($_index) {
+ if(isset($this->confg[$_index]))
+ return $this->confg[$_index];
+ return false;
+ }
+
/** returns the error.
* @return the error string
*/