MagicCMS Documentation

MenuInfoCollection Constructor (MagicPost, Int32, Boolean, Boolean)

Initializes a new instance of the MenuInfoCollection class.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public MenuInfoCollection(
	MagicPost parent,
	int currentPageId,
	bool checkLangButtons,
	bool isIconMenu
)

Parameters

parent
Type: MagicCMS.Core..::..MagicPost
The parent.
currentPageId
Type: Int32
The current page identifier.
checkLangButtons
Type: Boolean
if set to true language buttons are shown only if site is multilanguage and current language is not language of button.
isIconMenu
Type: Boolean
if set to true menu items are shown as icon (if available).