예제 #1
0
 /**
  * Constructor
  *
  * @param string $operator
  */
 public function __construct($operator = null, $groupName = null)
 {
     if ($operator == null) {
         $operator = Fetcher::OPERATOR_AND;
     }
     parent::__construct($operator, $groupName);
     $this->operations = array();
 }
예제 #2
0
 /**
  * Constructor
  *
  * @param string $operator
  * @param string $columnName
  * @param string $value
  * @param string $groupName
  */
 public function __construct($operator = null, $columnName = null, $value = null, $groupName = null)
 {
     if ($operator == null) {
         $operator = Fetcher::TYPE_EQ;
     }
     parent::__construct($operator, $groupName);
     $this->columnName = $columnName;
     $this->value = $value;
 }