CpVariable

Type
Class
Namespace
Craft
Inherits
Craft\CpVariable
Since
1.0

CP functions

See also http://craftcms.com

View source

Public Methods

MethodDescription
areAlertsCached()Returns whether the CP alerts are cached.
getAlerts()Returns an array of alerts to display in the CP.
nav()Get the sections of the CP.
settings()Returns the list of settings.

areAlertsCached()

Returns whether the CP alerts are cached.

View source

Returns

boolean

Signature

public boolean areAlertsCached ( )

getAlerts()

Returns an array of alerts to display in the CP.

View source

Returns

array

Signature

public array getAlerts ( )

nav()

Get the sections of the CP.

View source

Arguments

  • $iconSize

Returns

array

Signature

public array nav ( $iconSize = 32 )

settings()

Returns the list of settings.

View source

Arguments

  • $iconSize

Returns

array

Signature

public array settings ( $iconSize = 32 )