Method Summary |
void
|
|
void
|
Invoked, when changes are applied
|
protected
void
|
Automatically collects parameter values in admin form fields.
|
protected
void
|
Automatically sets parameter values in admin form fields.
|
void
|
|
void
|
Invoked, when the admin task is cancelled
|
void
|
Prepares parameters for automatic parameter handling
|
void
|
|
string
|
|
string
|
|
BaseObject
|
|
LCell
|
|
string
|
|
boolean
|
|
boolean
|
|
string
|
|
TMap
|
|
boolean
|
|
string
|
|
void
|
- sets slave
|
void
|
prepares display or admin panel
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
sets and saved brick parameters
|
void
|
|
Method Details |
addAdminSnippet
public void addAdminSnippet |
(string $admin ) |
Input |
string | $admin | admin snippet |
Output |
Exception |
|
applyClicked
public void applyClicked |
() |
Invoked, when changes are applied
|
autocollectAdmin
protected void autocollectAdmin |
() |
Automatically collects parameter values in admin form fields.
see autoselectAdmin
|
autoselectAdmin
protected void autoselectAdmin |
() |
Automatically sets parameter values in admin form fields.
Depending on parameter name and control id. Currently supported control types: TTextBox, TListControl, TRepeater (with Checker)
|
brickControl
public void brickControl |
(TWebControl $sender , TEventParameter $param ) |
Manages the commands invoked by admin buttons.
Input |
TWebControl | $sender | event-sending control |
TEventParameter | $param | control parameters |
Output |
Exception |
|
cancelClicked
public void cancelClicked |
() |
Invoked, when the admin task is cancelled
|
configureParameter
public void configureParameter |
(string $name , string $setter ) |
Prepares parameters for automatic parameter handling
Input |
string | $name | name of the parameter |
string | $setter | setter method |
Output |
Exception |
|
getAdminControls
public void getAdminControls |
() |
|
getAdministrationPage
public string getAdministrationPage |
() |
Output |
string
| administration page URL |
Exception |
|
getAdminTemplate
public string getAdminTemplate |
() |
Output |
string
| all admin snippets |
Exception |
|
getBrickObject
public BaseObject getBrickObject |
() |
Output |
BaseObject
| brick database record |
Exception |
|
getCell
Output |
LCell
| cell in which this brick resides |
Exception |
|
getDescriptiveName
public string getDescriptiveName |
() |
Output |
string
| descriptive name of the brick, default is class name |
Exception |
|
getHasAdministrationPage
public boolean getHasAdministrationPage |
() |
Output |
boolean
| wheter the brick has an administration page, usually in 'packages' |
Exception |
|
getIsVisible
public boolean getIsVisible |
() |
Output |
boolean
| wheter the brick is visible |
Exception |
|
getPanel
public string getPanel |
() |
Output |
string
| which panel to show (Admin, Normal) |
Exception |
|
getParameters
public TMap getParameters |
() |
Output |
TMap
| parameters for brick |
Exception |
|
getShowAdminPanel
public boolean getShowAdminPanel |
() |
Output |
boolean
| wheter to show the admin panel |
Exception |
|
getUniqueValidationGroup
public string getUniqueValidationGroup |
() |
Output |
string
| validation group |
Exception |
|
onInit
public void onInit |
(mixed $param ) |
- sets slave
- prepares admin controls, if nedded
Input |
mixed | $param | |
Output |
Exception |
|
onPreRender
public void onPreRender |
(mixed $param ) |
prepares display or admin panel
Input |
mixed | $param | |
Output |
Exception |
|
setAdminControls
public void setAdminControls |
(mixed $obj ) |
Input |
mixed | $obj | |
Output |
Exception |
|
setBrickObject
public void setBrickObject |
(BaseObject $obj ) |
Input |
BaseObject | $obj | brick database record |
Output |
Exception |
|
setCell
public void setCell |
(LCell $value ) |
Input |
LCell | $value | cell in which this brick resides |
Output |
Exception |
|
setPanel
public void setPanel |
(string $mode ) |
Input |
string | $mode | which panel to show (Admin, Normal) |
Output |
Exception |
|
setParameters
public void setParameters |
(TMap $arr ) |
sets and saved brick parameters
Input |
TMap | $arr | parameters for brick |
Output |
Exception |
|
setUniqueValidationGroup
public void setUniqueValidationGroup |
(string $value ) |
Input |
string | $value | validation group |
Output |
Exception |
|