static function ContentTreeUrl(Content $content)
    {
        $args = array();
        $pageContent = $content->GetPageContent();
        if ($pageContent)
        {
            $args['page'] = $pageContent->GetPage()->GetID();
            $args['area'] = $pageContent->GetArea()->GetID();
            return self::ModuleUrl(new \Phine\Bundles\Core\Modules\Backend\PageContentTree, $args);
        }
        $layoutContent = $content->GetLayoutContent();
        if ($layoutContent)
        {
            $args['area'] = $layoutContent->GetArea()->GetID();
            return self::ModuleUrl(new \Phine\Bundles\Core\Modules\Backend\LayoutContentTree, $args);
        }
        $containerContent = $content->GetContainerContent();
        if($containerContent)
        {
            $args['container'] = $containerContent->GetContainer()->GetID();
            return self::ModuleUrl(new \Phine\Bundles\Core\Modules\Backend\ContainerContentTree, $args);
        }
    }
static function ContentTreeUrl(Content $content)
    {
        $args = array();
        $pageContent = $content->GetPageContent();
        if ($pageContent)
        {
            $args['page'] = $pageContent->GetPage()->GetID();
            $args['area'] = $pageContent->GetArea()->GetID();
            return self::ModuleUrl(new \Phine\Bundles\Core\Modules\Backend\PageContentTree, $args);
        }
        $layoutContent = $content->GetLayoutContent();
        if ($layoutContent)
        {
            $args['area'] = $layoutContent->GetArea()->GetID();
            return self::ModuleUrl(new \Phine\Bundles\Core\Modules\Backend\LayoutContentTree, $args);
        }
        $containerContent = $content->GetContainerContent();
        if($containerContent)
        {
            $args['container'] = $containerContent->GetContainer()->GetID();
            return self::ModuleUrl(new \Phine\Bundles\Core\Modules\Backend\ContainerContentTree, $args);
        }
    }
static function ContentTreeUrl ( Content $ content ) { $ args = array ( ) ; $ pageContent = $ content -> GetPageContent ( ) ; if ( $ pageContent ) { $ args [ 'page' ] = $ pageContent -> GetPage ( ) -> GetID ( ) ; $ args [ 'area' ] = $ pageContent -> GetArea ( ) -> GetID ( ) ; return self :: ModuleUrl ( new \ Phine \ Bundles \ Core \ Modules \ Backend \ PageContentTree , $ args ) ; } $ layoutContent = $ content -> GetLayoutContent ( ) ; if ( $ layoutContent ) { $ args [ 'area' ] = $ layoutContent -> GetArea ( ) -> GetID ( ) ; return self :: ModuleUrl ( new \ Phine \ Bundles \ Core \ Modules \ Backend \ LayoutContentTree , $ args ) ; } $ containerContent = $ content -> GetContainerContent ( ) ; if ( $ containerContent ) { $ args [ 'container' ] = $ containerContent -> GetContainer ( ) -> GetID ( ) ; return self :: ModuleUrl ( new \ Phine \ Bundles \ Core \ Modules \ Backend \ ContainerContentTree , $ args ) ; } }
Gets the url of the content tree for a content element
@param Content $content
@return string
Gets the url of the content tree for a content element