SilverWare\Admin\Extensions\LeftAndMainExtension
An extension to add SilverWare Admin features to the admin.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2017 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class LeftAndMainExtension
extends LeftAndMainExtension
{
- // members
- private array $styles = ;
- // methods
- public void init()
- public string getAdminStyle()
- public boolean hasAdminStyle()
- public boolean getHideDisabledPageTypes()
- private string generateCustomCSS()
Hierarchy
Extends
- SilverStripe\Admin\LeftAndMainExtension
Members
private
- $styles
—
array
Array of admin styles from the extended object.
Methods
private
- generateCustomCSS() — Generates a string of custom CSS for the admin.
public
- getAdminStyle() — Answers the admin style with the specified name.
- getHideDisabledPageTypes() — Answers true if disabled page types are to be hidden from the CMS add form.
- hasAdminStyle() — Answers true if an admin style exists with the specified name.
- init() — Event handler method triggered when the admin initialises.