CalendarPage extends AbstractCustomPage
in package

Table of Contents

$capability  : string
$id  : string
$menuIcon  : string
$menuTitle  : string
$name  : string
$pageTitle  : string
$parentMenu  : string
$position  : int
$screenId  : string
__construct()  : mixed
__get()  : mixed|null
addActions()  : mixed
addMenu()  : mixed
addPageClass()  : mixed
display()  : mixed
getId()  : string
getUrl()  : string
isCurrentPage()  : bool
<b>Note:</b> use the method after 'admin_init' hook ('current_screen' for example).
load()  : mixed
maybeEnqueueScripts()  : mixed
wpAjaxCurrentUserCanEditOthersMpaBookings()  : mixed
enqueueScripts()  : mixed
getDefaults()  : array<string|int, mixed>
getMenuTitle()  : string
getPageTitle()  : string
localizeScripts()  : mixed

Properties

$capability

protected string $capability
Tags
since
1.0

$id

protected string $id
Tags
since
1.0

$menuTitle

protected string $menuTitle
Tags
since
1.0

$name

protected string $name
Tags
since
1.0

$pageTitle

protected string $pageTitle
Tags
since
1.0

$parentMenu

protected string $parentMenu
Tags
since
1.0

$position

protected int $position
Tags
since
1.0

$screenId

protected string $screenId
Tags
since
1.0

Methods

__construct()

public __construct(string $name[, array<string|int, mixed> $args = array() ]) : mixed
Parameters
$name : string
$args : array<string|int, mixed> = array()

Optional.

Tags
since
1.0
todo

Add parent menu slug.

Return values
mixed

__get()

public __get(string $name) : mixed|null
Parameters
$name : string
Tags
since
1.0
Return values
mixed|null

addActions()

public addActions() : mixed
Return values
mixed

addMenu()

public addMenu() : mixed
Tags
access

protected

since
1.0
Return values
mixed

addPageClass()

public addPageClass(mixed $classes) : mixed
Parameters
$classes : mixed
Return values
mixed

display()

public display() : mixed
Tags
access

protected

Return values
mixed

getId()

public getId() : string
Tags
since
1.0
Return values
string

getUrl()

public getUrl([array<string|int, mixed> $additionalArgs = array() ]) : string
Parameters
$additionalArgs : array<string|int, mixed> = array()

Optional.

Tags
since
1.0
Return values
string

isCurrentPage()

<b>Note:</b> use the method after 'admin_init' hook ('current_screen' for example).

public isCurrentPage() : bool
Tags
since
1.0
Return values
bool

load()

public load() : mixed
Tags
access

protected

since
1.0
Return values
mixed

maybeEnqueueScripts()

public maybeEnqueueScripts() : mixed
Tags
access

protected

since
1.1.0
Return values
mixed

wpAjaxCurrentUserCanEditOthersMpaBookings()

public wpAjaxCurrentUserCanEditOthersMpaBookings() : mixed
Return values
mixed

enqueueScripts()

protected enqueueScripts() : mixed
Return values
mixed

getDefaults()

protected getDefaults() : array<string|int, mixed>
Tags
since
1.0
Return values
array<string|int, mixed>

getMenuTitle()

protected getMenuTitle() : string
Return values
string

getPageTitle()

protected getPageTitle() : string
Return values
string

localizeScripts()

protected localizeScripts() : mixed
Return values
mixed

Search results