public function addTest($field, $test, $value) { $this->tests[] = array('field' => $field, 'test' => $test, 'value' => $value); return $this; }
public function listTopCategories() { $cm = $this->_mappers->create('Dolcore_Rdo_CategoryMapper'); $query = new Horde_Rdo_Query($cm); $query->addTest('id', 'LIKE', '_'); return $cm->find($query); }