persorequest.php
Persos' requests
Zed. The immensity of stars. The HyperShip. The people.
(c) 2010, Dereckson, some rights reserved. Released under BSD license.
This controller handle the /requests URL.
It can also be called with the requests SmartLine command.
It allows to prints a content page.
This controllers uses the persorequests.tpl view.
This controller offer AJAX capabilities but degrades gracefully in JS.
Tags
Table of Contents
Classes
- PersoRequest
- A perso request
Constants
- DOJO = \true
Functions
- get_request_allow_url() : string
- Gets request allow URL
- get_request_deny_url() : string
- Gets request deny URL
- get_request_url() : the
- Gets request URL
Constants
DOJO
public
mixed
DOJO
= \true
Functions
get_request_allow_url()
Gets request allow URL
get_request_allow_url(PersoRequest $request) : string
Parameters
- $request : PersoRequest
-
the perso request to confirm
Return values
string —the URL to allow the request
get_request_deny_url()
Gets request deny URL
get_request_deny_url(PersoRequest $request) : string
Parameters
- $request : PersoRequest
-
the perso request to confirm
Return values
string —the URL to deny the request
get_request_url()
Gets request URL
get_request_url(mixed $requestFlag, string $store, string $key, string $value) : the
Parameters
- $requestFlag : mixed
- $store : string
-
'perso' or 'registry'
- $key : string
-
the perso flag or registry key
- $value : string
-
the value to store
Return values
the —request URL