private function getResultSetWithoutSlaveColumnId(array $rows, $slaveColumnId)
    {
        // To be returned
        $result = array();

        foreach ($rows as $row) {
            // Make sure the name is valid
            if (isset($row[$slaveColumnId])) {
                unset($row[$slaveColumnId]);
            }

            // Append filtered $row array to the outputting array
            $result[] = $row;
        }

        return $result;
    }
private function getResultSetWithoutSlaveColumnId(array $rows, $slaveColumnId)
    {
        // To be returned
        $result = array();

        foreach ($rows as $row) {
            // Make sure the name is valid
            if (isset($row[$slaveColumnId])) {
                unset($row[$slaveColumnId]);
            }

            // Append filtered $row array to the outputting array
            $result[] = $row;
        }

        return $result;
    }
private function getResultSetWithoutSlaveColumnId ( array $ rows , $ slaveColumnId ) { // To be returned $ result = array ( ) ; foreach ( $ rows as $ row ) { // Make sure the name is valid if ( isset ( $ row [ $ slaveColumnId ] ) ) { unset ( $ row [ $ slaveColumnId ] ) ; } // Append filtered $row array to the outputting array $ result [ ] = $ row ; } return $ result ; }
Returns a result-set excluding slave column id name

@param array $rows Raw result-set
@param string $slaveColumnId Slave column id name to be excluded
@return array
Returns a result - set excluding slave column id name