Novius OS front-office controller
Use Nos::main_controller to retrieve its instance and call the methods.
| Returns: | Current Model_Page displayed. |
|---|
| Returns: | Current absolute URL. |
|---|
| Returns: | Relative (to Controller_Front::getContextUrl) URL of the current page. |
|---|
| Returns: | Relative (to Controller_Front::getContextUrl) URL of the current URL enhancer.
False if no current URL enhancer.
|
|---|
Same that Controller_Front::getPageUrl ending with / instead of .html.
| Returns: | Part of the URL processed by the URL enhancer.
False if no current URL enhancer.
|
|---|
| Parameters: |
|
|---|
| Parameters: |
|
|---|
| Parameters: |
|
|---|
| Parameters: |
|
|---|
| Parameters: |
|
|---|
| Parameters: |
|
|---|
| Parameters: |
|
|---|
| Parameters: |
|
|---|
| Parameters: |
|
|---|
| Parameters: |
|
|---|
| Returns: | Boolean, true if current page is requested in the preview mode. |
|---|
Disable caching and cache retrieve of the current page.
| Parameters: |
|
|---|
| Parameters: |
|
|---|
Add or replace a header to current response. Headers will be saved in cache.
| Parameters: |
|
|---|
Returns a (dot notated) custom data of the current process.
| Parameters: |
|
|---|---|
| Returns: | The custom data or default if not found. |
Sets a (dot notated) custom data to the current process.
| Parameters: |
|
|---|
Replace the template by a specific content and stop treatments
| Parameters: |
|
|---|
Add a cache suffix handler for the current page
| Parameters: |
|
|---|---|
| Returns: | The cache instance if the cache path have changed, null otherwise. |