lib/ezutils/classes/ezmodule.php
function viewData( $viewName = '' )
    {
        if ( $viewName == '' )
            $viewName = self::currentView();
        if ( $this->singleFunction() )
            $viewData = $this->Module["function"];
        else
            $viewData = $this->Functions[$viewName];
        return $viewData;
    }
function viewData( $viewName = '' )
    {
        if ( $viewName == '' )
            $viewName = self::currentView();
        if ( $this->singleFunction() )
            $viewData = $this->Module["function"];
        else
            $viewData = $this->Functions[$viewName];
        return $viewData;
    }
function viewData ( $ viewName = '' ) { if ( $ viewName == '' ) $ viewName = self :: currentView ( ) ; if ( $ this -> singleFunction ( ) ) $ viewData = $ this -> Module [ "function" ] ; else $ viewData = $ this -> Functions [ $ viewName ] ; return $ viewData ; }
Returns data for a view

@param string $viewName
The view to return data for. If omited, the current view is used
@see parameters(), unorderedParameters(), currentView(), currentModule()

@return array
Returns data for a view