public function current()
    {
        $row = parent::current();

        if (!$this->_validValues) {
            return $row;
        }

        $pointer =& $row;
        foreach ($this->_path as $step) {
            if (!isset($pointer[$step])) {
                return $row;
            }
            $pointer =& $pointer[$step];
        }

        $pointer[$this->_target] = $this->_values->current();

        return $row;
    }
public function current()
    {
        $row = parent::current();

        if (!$this->_validValues) {
            return $row;
        }

        $pointer =& $row;
        foreach ($this->_path as $step) {
            if (!isset($pointer[$step])) {
                return $row;
            }
            $pointer =& $pointer[$step];
        }

        $pointer[$this->_target] = $this->_values->current();

        return $row;
    }
public function current ( ) { $ row = parent :: current ( ) ; if ( ! $ this -> _validValues ) { return $ row ; } $ pointer = & $ row ; foreach ( $ this -> _path as $ step ) { if ( ! isset ( $ pointer [ $ step ] ) ) { return $ row ; } $ pointer = & $ pointer [ $ step ] ; } $ pointer [ $ this -> _target ] = $ this -> _values -> current ( ) ; return $ row ; }
Returns the current element in the target collection after inserting
the value from the source collection into the specified path.

@return mixed
Returns the current element in the target collection after inserting the value from the source collection into the specified path .