Horde_Rdo_Query::addTest PHP Method

addTest() public method

public addTest ( $field, $test, $value )
    public function addTest($field, $test, $value)
    {
        $this->tests[] = array('field' => $field, 'test' => $test, 'value' => $value);
        return $this;
    }

Usage Example

Exemplo n.º 1
0
 public function listTopCategories()
 {
     $cm = $this->_mappers->create('Dolcore_Rdo_CategoryMapper');
     $query = new Horde_Rdo_Query($cm);
     $query->addTest('id', 'LIKE', '_');
     return $cm->find($query);
 }
All Usage Examples Of Horde_Rdo_Query::addTest