private function getDotValue($key, $view)
    {
        list($first, $second) = explode('.', $key, 2);

        $value = $this->getValue($first, $view);
        if (is_scalar($value)) {
            // To de-reference, we need a data set, not scalar data
            return '';
        }

        return $this->getValue($second, $value);
    }
private function getDotValue($key, $view)
    {
        list($first, $second) = explode('.', $key, 2);

        $value = $this->getValue($first, $view);
        if (is_scalar($value)) {
            // To de-reference, we need a data set, not scalar data
            return '';
        }

        return $this->getValue($second, $value);
    }
private function getDotValue ( $ key , $ view ) { list ( $ first , $ second ) = explode ( '.' , $ key , 2 ) ; $ value = $ this -> getValue ( $ first , $ view ) ; if ( is_scalar ( $ value ) ) { // To de-reference, we need a data set, not scalar data return '' ; } return $ this -> getValue ( $ second , $ value ) ; }
De-reference a "dot value"

A dot value indicates a variable nested in a data structure
in the view object.

@param  string $key
@param  mixed $view
@return mixed
De - reference a dot value