CpVariable
- Type
- Class
- Namespace
- Craft
- Inherits
- Craft\CpVariable
- Since
- 1.0
CP functions
See also http://craftcms.com
View source (opens new window)
# Public Methods
Method | Description |
---|---|
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()
Signature
public boolean areAlertsCached ( )
# getAlerts()
Signature
public array getAlerts ( )
# nav()
Signature
public array nav ( $iconSize = 32 )
# settings()
Signature
public array settings ( $iconSize = 32 )