nyroFwk
0.2
var
www
users
nyrofwk
src
nyro
response.class.php
Go to the documentation of this file.
1
<?php
10
final
class
response
{
11
17
private
static
$inst
;
18
24
private
static
$proxy
;
25
31
public
static
function
getInstance
() {
32
if
(self::$proxy)
33
return
self::$proxy;
34
if
(!self::$inst) {
35
self::$inst =
factory::get
(
'response_'
.
request::getResponseName
());
36
self::$inst->setContentType(
request::get
(
'out'
));
37
}
38
return
self::$inst;
39
}
40
46
public
static
function
setProxy
(
$proxy
) {
47
self::$proxy =
$proxy
;
48
}
49
55
public
static
function
getProxy
() {
56
return
self::$proxy;
57
}
58
62
public
static
function
clearProxy
() {
63
self::$proxy = null;
64
}
65
}
request\get
static get($get=null)
Definition:
request.class.php:387
response
Definition:
response.class.php:10
request\getResponseName
static getResponseName()
Definition:
request.class.php:972
response\$proxy
static $proxy
Definition:
response.class.php:24
response\setProxy
static setProxy($proxy)
Definition:
response.class.php:46
response\clearProxy
static clearProxy()
Definition:
response.class.php:62
response\getProxy
static getProxy()
Definition:
response.class.php:55
response\getInstance
static getInstance()
Definition:
response.class.php:31
factory\get
static get($className, array $cfg=array())
Definition:
factory.class.php:192
response\$inst
static $inst
Definition:
response.class.php:17
Generated on Sun Oct 15 2017 22:25:20 for nyroFwk by
1.8.13