Class: atkShuttleFilter
Source Location: /relations/controls/class.atkshuttlefilter.inc
Class atkShuttleFilter
Method Summary
| string |
getFilter() |
Applies a filter clause to the destination node for this filter's current value. |
| int |
getLimit() |
This method gets called to set a hard limit to the amount of records that can get returned. |
| string |
render() |
Renders the shuttle filter control. |
Methods
string getChangeHandlerName(
string
$prefix
)
|
|
Returns the change handler name.
Parameters:
API Tags:
string getFilter(
&$record, array
$record
)
|
|
Applies a filter clause to the destination node for this filter's current value.
The current value can be retrieved from the record using $this->getValue(...).
Parameters:
|
array |
$record: |
full record |
|
|
&$record: |
|
API Tags:
| Return: | filter |
| Access: | public |
This method gets called to set a hard limit to the amount of records that can get returned.
API Tags:
void registerChangeHandler(
string
$mode, string
$prefix
)
|
|
Register change handler
Parameters:
|
string |
$mode: |
|
|
string |
$prefix: |
|
API Tags:
string render(
array
$record, string
$mode, string
$prefix
)
|
|
Renders the shuttle filter control.
Parameters:
|
array |
$record: |
|
|
string |
$mode: |
|
|
string |
$prefix: |
|
API Tags:
| Return: | control |
| Access: | public |
Redefinition of:
- atkShuttleControl::render()
- Renders the control. Returns a piece of HTML that is used in the shuttle