ZurmoDefaultViewUtil Class Reference

Inheritance diagram for ZurmoDefaultViewUtil:
MarketingDefaultViewUtil ProductDefaultViewUtil ProjectDefaultViewUtil ZurmoDefaultAdminViewUtil WorkflowDefaultAdminViewUtil

Static Public Member Functions

static makeViewWithBreadcrumbsForCurrentUser (CController $controller, View $containedView, $breadCrumbLinks, $breadcrumbViewClassName, $cssClasses=array())
static makeTwoViewsWithBreadcrumbsForCurrentUser (CController $controller, View $containedView, View $secondContainedView, $breadCrumbLinks, $breadcrumbViewClassName, $cssClasses=array())
static makeTwoStandardViewsForCurrentUser (CController $controller, View $containedView, View $secondContainedView, $cssClasses=array())
static makeStandardViewForCurrentUser (CController $controller, View $containedView)
static makeAuthorizationViewForCurrentUser (CController $controller, View $containedView)
static makeErrorViewForCurrentUser (CController $controller, View $containedView)
static setLockKeyForDetailsAndRelationsView ($key, $value)
static getLockKeyForDetailsAndRelationsView ($key)
static renderActionBarLinksForKanbanBoard ($controllerId, $moduleId, $modelId, $kanbanIsActive)

Static Protected Member Functions

static makeHeaderView (CController $controller)
static resolveHeaderMenuItemsForMobile (Array $items)
static getAndResolveUserMenuItemsForHeader ()
static makeMenuView ($controller=null)
static resolveForActiveMenuItem (&$items, $controller)
static resolveActiveModuleId ($controller)
static makeRecentlyViewedView ()
static makeFlashMessageView (CController $controller)
static makeModalContainerView ()
static makeModalGameNotificationContainerView ()
static makeGameCoinContainerView (CController $controller)
static makeFooterView ()
static resolveForMobileInterface (&$items, &$useMinimalDynamicLabelMbMenu, $controller=null)
static resolveShortcutsCreateMenuItemsForMobile (&$shortcutsCreateMenuItems)

Static Protected Attributes

static $showRecentlyViewed = true
static $activeModuleId

Detailed Description

Helper class for constructing the default view used by the classes that extend the ZurmoPageView.

Definition at line 40 of file ZurmoDefaultViewUtil.php.


Member Function Documentation

static makeViewWithBreadcrumbsForCurrentUser ( CController $  controller,
View containedView,
breadCrumbLinks,
breadcrumbViewClassName,
cssClasses = array() 
) [static]

Given a controller, contained view, construct the gridview used by the designer page view.

Parameters:
CController $controller
View $containedView
array $breadCrumbLinks
$breadcrumbViewClassName 
array $cssClasses
Returns:
GridView

Reimplemented in ZurmoDefaultAdminViewUtil.

Definition at line 61 of file ZurmoDefaultViewUtil.php.

static makeTwoViewsWithBreadcrumbsForCurrentUser ( CController $  controller,
View containedView,
View secondContainedView,
breadCrumbLinks,
breadcrumbViewClassName,
cssClasses = array() 
) [static]
Parameters:
CController $controller
View $containedView
array $breadCrumbLinks
$breadcrumbViewClassName 
array $cssClasses
Returns:
GridView Given a controller, two contained views, construct the gridview used by the designer page view.
Parameters:
CController $controller
View $containedView
View $secondContainedView
array $breadCrumbLinks
$breadcrumbViewClassName 
array $cssClasses
Returns:
GridView

Definition at line 99 of file ZurmoDefaultViewUtil.php.

static makeStandardViewForCurrentUser ( CController $  controller,
View containedView 
) [static]

Given a controller and contained view, construct the gridview used by the zurmo page view.

Parameters:
CController $controller
View $containedView
Returns:
View

Definition at line 136 of file ZurmoDefaultViewUtil.php.

static makeAuthorizationViewForCurrentUser ( CController $  controller,
View containedView 
) [static]

View for rendering Authorization while integration with external apps

Parameters:
CController $controller
View $containedView
Returns:
GridView

Definition at line 181 of file ZurmoDefaultViewUtil.php.

static makeErrorViewForCurrentUser ( CController $  controller,
View containedView 
) [static]

Given a contained view, construct the gridview used by the zurmo page view for errors.

Parameters:
View $containedView

Definition at line 200 of file ZurmoDefaultViewUtil.php.

static setLockKeyForDetailsAndRelationsView ( key,
value 
) [static]
Parameters:
$key 
bool $value

Definition at line 367 of file ZurmoDefaultViewUtil.php.

static getLockKeyForDetailsAndRelationsView ( key  )  [static]
Parameters:
$key 
Returns:
mixed

Definition at line 377 of file ZurmoDefaultViewUtil.php.

static renderActionBarLinksForKanbanBoard ( controllerId,
moduleId,
modelId,
kanbanIsActive 
) [static]

Render action bar links for kanban board on details view

Parameters:
$controllerId 
$moduleId 
$modelId 
bool $kanbanIsActive
Returns:
string

Definition at line 390 of file ZurmoDefaultViewUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Jun 25 07:10:31 2017