Prado\Data\SqlMap\TSqlMapGateway::queryForMapWithRowDelegate PHP Method

queryForMapWithRowDelegate() public method

Example: $sqlmap->queryForMapWithRowDelegate('getAccounts', array($this, 'rowHandler'));
public queryForMapWithRowDelegate ( $statementName, $delegate, $parameter = null, $keyProperty = null, $valueProperty = null, $skip, $max ) : TMap
return TMap Array object containing the rows keyed by keyProperty.
    public function queryForMapWithRowDelegate($statementName, $delegate, $parameter = null, $keyProperty = null, $valueProperty = null, $skip = -1, $max = -1)
    {
        $statement = $this->getSqlMapManager()->getMappedStatement($statementName);
        return $statement->executeQueryForMap($this->getDbConnection(), $parameter, $keyProperty, $valueProperty, $skip, $max, $delegate);
    }