Class: atkFrontControllerBridge
Source Location: /front/class.atkfrontcontrollerbridge.inc
Class atkFrontControllerBridge
Method Summary
| string |
buildUrl() |
Build url using the given URI and variables. |
Methods
string buildUrl(
array
$vars
)
|
|
Build url using the given URI and variables.
Parameters:
|
array |
$vars: |
Request vars. |
API Tags:
| Return: | url |
| Access: | public |
void doRedirect(
string
$url
)
|
|
Redirect to the given url.
Parameters:
API Tags:
string getApplicationRoot(
)
|
|
Get the application root
API Tags:
| Return: | The path to the application root |
| Access: | public |
void registerScriptCode(
string
$code
)
|
|
Register JavaScript code.
Parameters:
API Tags:
void registerScriptFile(
string
$file
)
|
|
Register script file.
Parameters:
|
string |
$file: |
script filename |
API Tags:
void registerStyleCode(
string
$code
)
|
|
Register stylesheet code.
Parameters:
|
string |
$code: |
stylesheet code |
API Tags:
void registerStyleSheet(
string
$file, [string
$media = 'all']
)
|
|
Register stylesheet of the given media type.
Parameters:
|
string |
$file: |
stylesheet filename |
|
string |
$media: |
media type (defaults to 'all') |
API Tags: