Maileon PHP client  1.5.0
Easily integrate your PHP application with Maileon.
Rule.php
1 <?php
2 
9 {
10 
11  public $isCustomfield;
12  public $field;
13  public $operator;
14  public $value;
15  public $type;
16 
25  function __construct($isCustomfield, $field, $operator, $value, $type = "string")
26  {
27  $this->isCustomfield = $isCustomfield;
28  $this->field = $field;
29  $this->operator = $operator;
30  $this->value = $value;
31  $this->type = $type;
32  }
33 
40  function toString()
41  {
42  return "Rule [isCustomfield=" . ($this->isCustomfield) ? "true" : "false" . ", field=" . $this->field . ", operator=" . $this->operator . ", value=" . $this->value . " (type = " . $this->type . ")";
43  }
44 
45 }
__construct($isCustomfield, $field, $operator, $value, $type="string")
Definition: Rule.php:25