3 // Copyright (C) 2010-2011 Aron Racho <aron@mi-squred.com>
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
11 * Description of RuleAction
25 var $customRulesInput;
29 function __construct()
35 return getLabel($this->category
, 'rule_action_category') . " - " . getLabel($this->item
, 'rule_action');
38 function getCategoryLabel()
40 if (!$this->categoryLbl
) {
41 $this->categoryLbl
= getLabel($this->category
, 'rule_action_category');
44 return $this->categoryLbl
;
47 function getItemLabel()
49 if (!$this->itemLbl
) {
50 $this->itemLbl
= getLabel($this->item
, 'rule_action');
53 return $this->itemLbl
;