Class: atkViewHandler
Source Location: /handlers/class.atkviewhandler.inc
Class atkViewHandler
Method Summary
| void |
viewHeader() |
Overrideable function to create a header for view mode. |
| String |
viewPage() |
Returns an htmlpage displaying all displayable attributes. |
Methods
void action_view(
[Bool
$renderbox = true]
)
|
|
The action handler method.
Parameters:
|
Bool |
$renderbox: |
Render this action in a renderbox or just output the HTML |
The dialog partial
API Tags:
| Return: | HTML code for the view dialog |
string renderViewDialog(
[array
$record = null]
)
|
|
Render view dialog.
Parameters:
API Tags:
String viewForm(
Array
$record, [String
$mode = "view"]
)
|
|
Get the view page
Parameters:
|
Array |
$record: |
The record |
|
String |
$mode: |
The mode we're in (defaults to "view") |
API Tags:
| Return: | HTML code of the page |
Overrideable function to create a header for view mode.
Similar to the admin header functionality.
String viewPage(
array
$record, atkNode
$node, [Bool
$renderbox = true]
)
|
|
Returns an htmlpage displaying all displayable attributes.
Parameters:
|
array |
$record: |
The record to display. |
|
atkNode |
$node: |
The node for which a viewPage is displayed. |
|
Bool |
$renderbox: |
Render this action in a renderbox or just output the HTML |
API Tags:
| Return: | The html page with a reaonly view of relevant fields. |