fix: set default x12 partner for item in billing manager (#7502)
[openemr.git] / interface / super / rules / library / RuleAction.php
blobe8c6c785f91bafaa5f2f364de30c95b585e06972
1 <?php
3 // Copyright (C) 2010-2011 Aron Racho <aron@mi-squred.com>
4 //
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.
10 /**
11 * Description of RuleAction
13 * @author aron
15 class RuleAction
17 var $guid;
18 var $id;
19 var $category;
20 var $categoryLbl;
21 var $item;
22 var $itemLbl;
23 var $reminderLink;
24 var $reminderMessage;
25 var $customRulesInput;
26 var $groupId;
27 var $targetCriteria;
29 function __construct()
33 function getTitle()
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;