public function actionGetNavContainerName($navId)
    {
        $nav = Nav::findOne($navId);
        if ($nav) {
            $navCoontainer = NavContainer::findOne($nav->nav_container_id);
            if ($navCoontainer) {
                return $navCoontainer->name;
            }
        }
        return "";
    }
public function actionGetNavContainerName($navId)
    {
        $nav = Nav::findOne($navId);
        if ($nav) {
            $navCoontainer = NavContainer::findOne($nav->nav_container_id);
            if ($navCoontainer) {
                return $navCoontainer->name;
            }
        }
        return "";
    }
public function actionGetNavContainerName ( $ navId ) { $ nav = Nav :: findOne ( $ navId ) ; if ( $ nav ) { $ navCoontainer = NavContainer :: findOne ( $ nav -> nav_container_id ) ; if ( $ navCoontainer ) { return $ navCoontainer -> name ; } } return "" ; }
Get Container name for a nav item.

@param $navId
@return string Container name
Get Container name for a nav item .