protected function _get_result() { $rows = array(); while ($res = $this->_cws->get_result()) { foreach ($res as $key => $val) { $rows[] = $val; } } $obj = new arrayObject($rows); $this->_resObj = $obj->getIterator(); }
/** * Checks existence of search field in parameters and adds it to fieldarray. * * @param string $idstr * @param array $fields * @param arrayObject $parameters * @param tx_rnbase_configurations $configurations * @param string $operator */ function setField($idstr, &$fields, &$parameters, &$configurations, $operator = OP_LIKE) { if (!isset($fields[$idstr][$operator]) && $parameters->offsetGet($idstr)) { $fields[$idstr][$operator] = $parameters->offsetGet($idstr); // Parameter als KeepVar merken // TODO: Ist das noch notwendig?? $configurations->addKeepVar($configurations->createParamName($idstr), $fields[$idstr]); } }