+ // {{{ function id()
+
+ public function id()
+ {
+ return $this->uid . '_' . $this->type . '_' . $this->stamp;
+ }
+
+ // }}}
+ // {{{ function ruleText()
+
+ public function ruleText()
+ {
+ return str_replace('\'', '\\\'', $this->rules);
+ }
+
+ // }}}