Class: atkPageBuilder
Source Location: /ui/class.atkpagebuilder.inc
Class atkPageBuilder
Class Overview
|
Page builder. Provides a fluent interface to create standardized ATK pages.
$node->createPageBuilder() ->title('...') ->beginActionBox() ->formStart('...') ->content('...') ->endActionBox() ->box('...') ->render();
Located in /ui/class.atkpagebuilder.inc [line 34]
Wiki documentation
Author(s):
Information Tags:
|
Properties
|
Methods
|
Method Summary
| void |
render() |
Renders the page. |
Methods
atkPageBuilder __construct(
atkNode
$node
)
|
|
Constructor.
Parameters:
API Tags:
Sets the action.
Parameters:
API Tags:
Add action box.
Parameters:
|
array |
$params: |
|
|
string |
$title: |
|
API Tags:
Begins building a new action box.
API Tags:
Add box.
Parameters:
|
string |
$content: |
|
|
string |
$title: |
|
API Tags:
Returns the node.
API Tags:
Sets the record (if applicable) for this action.
Parameters:
API Tags:
Renders the page.
API Tags:
Sets the page title to the given string.
Parameters:
API Tags: