52 $table->column(
"Component",
"{component}",
true)
53 ->column(
"Name",
"<a href='/admin/setting_form?settings_id={settings_id}'>{name}</a>",
true)
54 ->column(
"Field Annotation",
"{annotation}",
true)
55 ->column(
"Field Type",
"{field_type}",
true)
61 $table->emptyMessage =
"There are no application settings defined.";
64 <h4>This features allows you
to define the system
's application setting options. It is designed for use by systems administrators. CMS Users can modify <a href="/admin/settings">Application Settings</a> under CMS Site Configuration.</h4>
65 <p>To create a new setting, perform the following steps:</p>
67 <li>In your component's manifest, subscribe
to the
event "ComponentScanComplete", calling a
function in your component
's manager class called "setDefaults"</li>
68 <li>Add the static function setDefaults to your component's manager
class</li>
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
The Settings class provides components with a common API for specifying application settings and conf...
static setDefaultValue($component, $name, $value, $field_type="String", $annotation="", $category="", $options="", $weight=0)
Sets the default value of the given component setting.