void action_attributeedit(
)
|
|
The action method.
String attributeEditPage(
)
|
|
AttributeEdit page.
API Tags:
| Return: | The attribute edit page |
string getAttributeEditPage(
)
|
|
Returns the attributeEdit page contents.
API Tags:
| Return: | attributeEdit page contents |
Returns the attributeEdit page contents.
API Tags:
| Return: | attributeEdit page contents |
String getErrorPage(
Int
$error, [array
$record = null], [String
$customerror = '']
)
|
|
Get a page indicating an error has occurred.
Parameters:
|
Int |
$error: |
|
|
array |
$record: |
The record |
|
String |
$customerror: |
|
API Tags:
Returns the form start.
API Tags:
Array getIgnoreList(
String
$selectedattributename
)
|
|
Get a list of attributenames that we can ignore (i.e. when calling validate() on a node.)
Parameters:
|
String |
$selectedattributename: |
|
API Tags:
| Return: | A list of attributenames. |
Returns the process URL.
API Tags:
Get the atkselector from the postvars.
The atkselector could be prefixed, depending on the page where we come from. From the admin page it will be prefixed with the formname, from the attributeedit dialog, it will not be prefixed anymore.
array getSupportedAttributes(
)
|
|
Get the supported attributes.
If no supported attributes were set, ATK determines them by itself.
API Tags:
| Return: | Array with attribute objects |
void handleError(
int
$error, [array
$record = null], [bool
$reload = false]
)
|
|
Handle errors of different types.
Parameters:
|
int |
$error: |
The AttributeEditHandler error type. |
|
array |
$record: |
The record |
|
bool |
$reload: |
Reload the page? |
void handleRefreshValuesField(
)
|
|
Handle refresh values
Return the onchange code
API Tags:
| Return: | The onchange javascript code |
void registerExternalFiles(
)
|
|
Register external files
string renderAttributeEditPage(
array
$params
)
|
|
Render the add or copy page using the given parameters.
Parameters:
|
array |
$params: |
parameters |
API Tags:
void setMasterNode(
atkNode
$node
)
|
|
Set the maste node
Parameters:
void setProcessUrl(
string
$url
)
|
|
Override the default process URL.
Parameters:
String _getDropDownAttributes(
[string
$selectedAttribute = ""]
)
|
|
Get dropdown attributes
Parameters:
|
string |
$selectedAttribute: |
|
API Tags:
| Return: | Dropdown with attributenames |
unknown _getDropDownValues(
[String
$selectedAttribute = ""]
)
|
|
Get the dropdown with the possible values for the selected attribute.
Parameters:
|
String |
$selectedAttribute: |
|