nyroFwk  0.2
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
response_proxy Class Reference
Inheritance diagram for response_proxy:
object

Public Member Functions

 hasCall ()
 
 getCall ()
 
 initCall ()
 
 doCalls (array $calls)
 
 getAttr ($name)
 
 setAttr ($name, $value)
 
 __call ($name, $prm)
 
 __toString ()
 
 getCfg ()
 

Protected Member Functions

 afterInit ()
 
 beforeInit ()
 

Protected Attributes

 $call = array()
 
 $isResponseProxy
 
 $cfg
 

Private Attributes

 $response
 

Detailed Description

To replace the response inside a tpl, to save all call in case of cache

Definition at line 10 of file proxy.class.php.

Member Function Documentation

◆ __call()

__call (   $name,
  $prm 
)

Save the call if not a get method and make the call

Parameters
string$nameFunction name
array$prmParameter
Returns
mixed The reponse function return

Definition at line 91 of file proxy.class.php.

◆ __toString()

__toString ( )

Definition at line 97 of file proxy.class.php.

◆ afterInit()

afterInit ( )
protected

Definition at line 33 of file proxy.class.php.

◆ beforeInit()

beforeInit ( )
protectedinherited

Call just before the configuration initialisation

Definition at line 35 of file object.class.php.

◆ doCalls()

doCalls ( array  $calls)

Do the call given in parameter

Parameters
array$callsCall to made

Definition at line 68 of file proxy.class.php.

◆ getAttr()

getAttr (   $name)

Definition at line 74 of file proxy.class.php.

◆ getCall()

getCall ( )

Get the call array

Returns
array

Definition at line 52 of file proxy.class.php.

◆ getCfg()

getCfg ( )
inherited

Get the configuration object

Returns
config

Definition at line 67 of file object.class.php.

◆ hasCall()

hasCall ( )

Check if call was made

Returns
bool

Definition at line 43 of file proxy.class.php.

◆ initCall()

initCall ( )

Init the call array

Definition at line 59 of file proxy.class.php.

◆ setAttr()

setAttr (   $name,
  $value 
)

Definition at line 78 of file proxy.class.php.

Field Documentation

◆ $call

$call = array()
protected

Definition at line 17 of file proxy.class.php.

◆ $cfg

$cfg
protectedinherited

Definition at line 17 of file object.class.php.

◆ $isResponseProxy

$isResponseProxy
protected

Definition at line 31 of file proxy.class.php.

◆ $response

$response
private

Definition at line 24 of file proxy.class.php.


The documentation for this class was generated from the following file:
Generated on Sun Oct 15 2017 22:25:21 for nyroFwk by doxygen 1.8.13