CoolCMS API

AssetUsageSettingsTrait

The "Images" component (assigns variants to image usages of a module) for module settings pages.

The template renders {control assetUsageSettings} after the closing {/form} of the settings form; a nested form is not possible.

The module is the host's self::MODULE (the Setting presenters of Blog, Eshop, Bazaar, Comcat and Discussion). Whoever may save the module settings may save here: settings pages are single-page and their form is written with the action key :Admin:<Module>:Setting:show (BasePresenter::formSubmitPrivilege()); :...:Setting:edit does not exist.

Table of Contents

Properties

$assetUsageSettingsFactory  : AssetUsageSettingsFactory

Methods

createComponentAssetUsageSettings()  : AssetUsageSettings

Properties

Methods

On this page

Search results