Prototype RootLayoutMgr
extends: LayoutMgr
ACTIONS | FUNCTIONS | MACROS | SKINS | TEMPLATES | TYPE.PROPERTIES

Functions
renderParentLayoutChooser(selLayout, firstOption)
render a dropdown containing the available shareable system layouts (this method also checks if any of the system layouts is already in the chain of the selected layout, just to prevent a loop betw ...
setDefaultLayout(alias)
Set the layout with the alias passed as argument to the default root layout
 
Inherited from prototype LayoutMgr:
Actions: create_action , import_action , main_action
Functions: checkAccess(action, usr, level) , checkEdit(usr, level) , deleteLayout(layout) , evalImport(param, creator) , evalNewLayout(param, creator) , renderParentLayoutChooser(selLayout, firstOption) , setDefaultLayout(alias)
Macros: LayoutMgr.layoutchooser
Skins: import.skin , main.skin , new.skin


type.properties
_extends = LayoutMgr

##
## collections
##
_children            = collection(Layout)
_children.filter     = LAYOUT_F_SITE is null
_children.accessname = LAYOUT_ALIAS
_children.order      = LAYOUT_CREATETIME desc

shareable            = collection(Layout)
shareable.filter     = LAYOUT_F_SITE is null and LAYOUT_SHAREABLE = 1
shareable.accessname = LAYOUT_ALIAS
shareable.order      = LAYOUT_CREATETIME desc