Project

General

Profile

Download (491 Bytes) Statistics
| Branch: | Tag: | Revision:
1
<?php
2
/**
3
 * PHP implementation of the cdm eu.etaxonomy.cdm.persistence.dao.common.Restriction
4
 */
5

    
6
class Restriction
7
{
8
  public $propertyName;
9

    
10
  public $matchMode;
11

    
12
  public $operator;
13

    
14
  public $values = array();
15

    
16

    
17
  /**
18
   * Public constructor.
19
   */
20
  public function __construct($propertyName, $matchMode, array $values, $operator = 'AND') {
21
    $this->propertyName = $propertyName;
22
    $this->matchMode = $matchMode;
23
    $this->values = $values;
24
    $this->operator = $operator;
25
  }
26
}
    (1-1/1)