protected function renameResult(array &$result, $old, $new)
    {

        // Check to see if the old item is there
        if (isset($result[$old])) {
            $result[$new] = $result[$old];
            unset($result[$old]);
        }
    }
protected function renameResult(array &$result, $old, $new)
    {

        // Check to see if the old item is there
        if (isset($result[$old])) {
            $result[$new] = $result[$old];
            unset($result[$old]);
        }
    }
protected function renameResult ( array & $ result , $ old , $ new ) { // Check to see if the old item is there if ( isset ( $ result [ $ old ] ) ) { $ result [ $ new ] = $ result [ $ old ] ; unset ( $ result [ $ old ] ) ; } }
Dirty hack to rename result entries into something more useful

@param array  $result
@param string $old
@param string $new
Dirty hack to rename result entries into something more useful