Zed. The source code to build a world.

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
subpackage

Controllers

author

Sébastien Santoro aka Dereckson dereckson@espace-win.org

copyright

2010 Sébastien Santoro aka Dereckson

license

http://www.opensource.org/licenses/bsd-license.php BSD

version
0.1
link
http://scherzo.dereckson.be/doc/zed
link
http://zed.dereckson.be/
filesource
todo

Document the request system in the API documentation

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

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


        
On this page

Search results