bBlogConfig bBlogConfig(
)
|
|
void getPossibleValues(
mixed
$values, mixed
&$db
)
|
|
void inputSelect(
string
$name, array
$values, [string
$default = null]
)
|
|
Prepares a HTML input tag for display
Parameters:
|
string |
$name: |
Used to form the name attribute of the input tag |
|
array |
$values: |
Current list of possible values |
|
string |
$default: |
The default value |
void inputText(
mixed
$name, [mixed
$value = null]
)
|
|
Create a text input tag for form display
void loadConfiguration(
object
&$db
)
|
|
Fetch configuration from database and create cosntants
Parameters:
|
object |
$db: |
Instance of ezSQL, passed by reference |
void loadModifierValues(
mixed
&$db
)
|
|
void loadTemplateValues(
)
|
|
void saveConfiguration(
object
$db
)
|
|
Save configuration to database
Parameters:
|
object |
$db: |
Instance of ezSQL, passed by reference |
array showConfigForm(
object
&$db
)
|
|
Retrieve configuration from database in form suitable for display in the admin form
Returned data format: index : pair left = Label displayed on form right = HTML Input tag already prepared for display
Parameters:
|
object |
$db: |
Instance of ezSQL, passed by reference |
API Tags:
| Return: | Indexed array of pairs |