ZenMagick 0.9.11


zenmagick.store.shared.admin.menu\ZMAdminMenuItem
admin\menu\ZMAdminMenuItem.php at line 32

Class ZMAdminMenuItem

ZMObject
└─ZMAdminMenuItem

public class ZMAdminMenuItem
extends ZMObject

Admin menu item.

This may be either a ZenMagick system page or a plugin options page or other.

Author:
DerManoMann

Fields inherited from org.zenmagick.core\ZMObject
properties_
Method Summary
void

__construct(string parent, string id, string title, string function, array properties)

Create new item.

string

getId()

Get the id.

string

getParent()

Get the parent.

string

getTitle()

Get the title.

string

getURL()

Get the url.

void

setParent(mixed parent)

Set the parent.

Methods inherited from org.zenmagick.core\ZMObject
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set

Method Detail

admin\menu\ZMAdminMenuItem.php at line 47

__construct

public void __construct(string parent, string id, string title, string function, array properties)

Create new item.

Parameters:
parent - The id of the parent.
id - The page id.
title - The page title.
function - The function to render the contents.

admin\menu\ZMAdminMenuItem.php at line 83

getId

public string getId()

Get the id.

Returns:
The id.

admin\menu\ZMAdminMenuItem.php at line 69

getParent

public string getParent()

Get the parent.

Returns:
The parent id.

admin\menu\ZMAdminMenuItem.php at line 90

getTitle

public string getTitle()

Get the title.

Returns:
The title.

admin\menu\ZMAdminMenuItem.php at line 97

getURL

public string getURL()

Get the url.

Returns:
The URL.

admin\menu\ZMAdminMenuItem.php at line 76

setParent

public void setParent(mixed parent)

Set the parent.

Param,:
string parent The parent id.

ZenMagick 0.9.11