public function getContentForRoute($route)
    {
        $content = $this->di->get("content")->contentForInternalRoute($route);
        return $content->views["main"]["data"];
    }
public function getContentForRoute($route)
    {
        $content = $this->di->get("content")->contentForInternalRoute($route);
        return $content->views["main"]["data"];
    }
public function getContentForRoute ( $ route ) { $ content = $ this -> di -> get ( "content" ) -> contentForInternalRoute ( $ route ) ; return $ content -> views [ "main" ] [ "data" ] ; }
Load content from a route and return details to view.

@param string $route to load content from.

@return array with values to extract in view.
Load content from a route and return details to view .