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 RuleCriteriaSimpleText
15 abstract class RuleCriteriaSimpleText
extends RuleCriteria
20 function __construct($title, $value)
22 $this->title
= $title;
23 $this->value
= $value;
26 function getRequirements()
38 return "simple_text_criteria.php";
41 function updateFromRequest()
43 parent
::updateFromRequest();
44 $value = _post("fld_value");
45 $this->value
= $value;