DataView/DataViewView.php
public function getData()
    {
        if ($this->vars['compound'] && $this->vars['value'] !== null) {
            return array_map(function (DataViewView $view) {
                return $view->getData();
            }, $this->children);
        }

        return $this->vars['value'];
    }
public function getData()
    {
        if ($this->vars['compound'] && $this->vars['value'] !== null) {
            return array_map(function (DataViewView $view) {
                return $view->getData();
            }, $this->children);
        }

        return $this->vars['value'];
    }
public function getData ( ) { if ( $ this -> vars [ 'compound' ] && $ this -> vars [ 'value' ] !== null ) { return array_map ( function ( DataViewView $ view ) { return $ view -> getData ( ) ; } , $ this -> children ) ; } return $ this -> vars [ 'value' ] ; }
This is the method that will actually fetch the data off the view object

@return array
This is the method that will actually fetch the data off the view object