class SettingsGroup (View source)

Methods

static SettingsGroup
make()

No description

name(string $name)

No description

string
getName()

No description

label(string $label)

No description

string
getLabel()

No description

string
getRoute()

No description

string
getHref()

No description

bool
hasSection(string $sectionName)

No description

getSettingsModel()

No description

void
boot()

There is no need to manually call this method.

availableWhen(Closure $closure)

No description

bool
isAvailable()

No description

void
ensureModelExists()

No description

void
createBlockIfNotExisting(string $name, AppSetting $model)

No description

doNotAutoRegisterMenu(bool $doNotAutoRegister = true)

When this is set you will have to manually register the menu item in twill-navigation.php otherwise this will be automatically embedded into the settings section in the main navigation.

bool
shouldNotAutoRegisterInMenu()

No description

Details

static SettingsGroup make()

No description

Return Value

SettingsGroup

SettingsGroup name(string $name)

No description

Parameters

string $name

Return Value

SettingsGroup

string getName()

No description

Return Value

string

SettingsGroup label(string $label)

No description

Parameters

string $label

Return Value

SettingsGroup

string getLabel()

No description

Return Value

string

string getRoute()

No description

Return Value

string

string getHref()

No description

Return Value

string

bool hasSection(string $sectionName)

No description

Parameters

string $sectionName

Return Value

bool

AppSetting getSettingsModel()

No description

Return Value

AppSetting

void boot()

There is no need to manually call this method.

Return Value

void

SettingsGroup availableWhen(Closure $closure)

No description

Parameters

Closure $closure

Return Value

SettingsGroup

bool isAvailable()

No description

Return Value

bool

protected void ensureModelExists()

No description

Return Value

void

protected void createBlockIfNotExisting(string $name, AppSetting $model)

No description

Parameters

string $name
AppSetting $model

Return Value

void

SettingsGroup doNotAutoRegisterMenu(bool $doNotAutoRegister = true)

When this is set you will have to manually register the menu item in twill-navigation.php otherwise this will be automatically embedded into the settings section in the main navigation.

Parameters

bool $doNotAutoRegister

Return Value

SettingsGroup

bool shouldNotAutoRegisterInMenu()

No description

Return Value

bool