SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class NavigationGroups

Menu groups for front end main navigation

Variables

NameVisibilityDescription
$extras (static) 
$fallback_names (static) 
$names (static) 

Functions

NameVisibilityDescription
getAllExtrasAdminpublic (static)Get all extras, grouped by top parent page id
getAllGroupsAdminpublic (static)Get all group details, grouped by top parent page id
getAllNamespublic (static)Returns an array of position -> name for all groups for a page
getAllNamesAdminpublic (static)Get all group names, grouped by top parent page id
getExtraspublic (static)Return an array of extra menu details for a top-level nav items
getGroupsAdminpublic (static)Return an array of group names to use for a given top parent
getIdpublic (static)Return the group id for a given page and position
getItemspublic (static)Return an array of Treenode instances for the items in this group
getNamepublic (static)Return the group name for a given page and position
loadGroupNamesprivate (static) 

public getAllExtrasAdmin

unknown NavigationGroups::getAllExtrasAdmin ( );

Get all extras, grouped by top parent page id
ADMIN ONLY METHOD

public getAllGroupsAdmin

unknown NavigationGroups::getAllGroupsAdmin ( );

Get all group details, grouped by top parent page id
ADMIN ONLY METHOD

public getAllNames

unknown NavigationGroups::getAllNames ( mixed $page_id );

Returns an array of position -> name for all groups for a page

public getAllNamesAdmin

unknown NavigationGroups::getAllNamesAdmin ( );

Get all group names, grouped by top parent page id
ADMIN ONLY METHOD

public getExtras

array NavigationGroups::getExtras ( int $page_id );

Return an array of extra menu details for a top-level nav items

Return keys:
   text    Description
   image   Image filename

public getGroupsAdmin

array NavigationGroups::getGroupsAdmin ( TreeNode $page_id );

Return an array of group names to use for a given top parent
ADMIN ONLY METHOD

public getId

unknown NavigationGroups::getId ( mixed $page_id , mixed $position );

Return the group id for a given page and position

public getItems

unknown NavigationGroups::getItems ( mixed $page_id , mixed $position [, mixed $limit ] );

Return an array of Treenode instances for the items in this group

public getName

unknown NavigationGroups::getName ( mixed $page_id , mixed $position );

Return the group name for a given page and position

private loadGroupNames

unknown NavigationGroups::loadGroupNames ( [ mixed &$subsite_id ] );

This function does not have a description