Public Member Functions | Protected Member Functions | Protected Attributes

response_abstract Class Reference

Inheritance diagram for response_abstract:
object response_http response_http_html response_http_xul

Public Member Functions

 getProxy ()
 getContent ()
 setContent ($content)
 comment ($comment)
 send ()
 sendText ($text)
 __call ($func, $prm)
 __toString ()
 getAttr ($name)
 setAttr ($name, $value)
 getCfg ()

Protected Member Functions

 beforeInit ()
 afterInit ()

Protected Attributes

 $content
 $proxy = null
 $cfg

Detailed Description

Abstract response class

Definition at line 10 of file response/abstract.class.php.


Member Function Documentation

__call ( func,
prm 
)

Here to avoid wrong call to the response object

Definition at line 78 of file response/abstract.class.php.

__toString (  ) 

Definition at line 80 of file response/abstract.class.php.

beforeInit (  )  [protected, inherited]

Call just before the configuration initialisation

Reimplemented in form_file.

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

comment ( comment  ) 

Return the content commented regarding the response type

Parameters:
string $comment
Returns:
string

Reimplemented in response_http.

Definition at line 59 of file response/abstract.class.php.

getAttr ( name  )  [inherited]

Get an attribute

Parameters:
string $name Attribute name
Returns:
mixed|null The attribute or null if not set

Reimplemented in response_proxy.

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

getCfg (  )  [inherited]

Get the configuration object

Returns:
config

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

getContent (  ) 

Get the response content

Returns:
mixed

Definition at line 40 of file response/abstract.class.php.

getProxy (  ) 

Get the response proxy (used in the templates)

Returns:
response_proxy

Definition at line 31 of file response/abstract.class.php.

send (  )  [abstract]

Send The response

sendText ( text  )  [abstract]

Send a text response (exit the programm)

Parameters:
string $text

Reimplemented in response_http.

setAttr ( name,
value 
) [inherited]

Set an attribute

Parameters:
string $name Attribute name
mixed $value Attribute value

Reimplemented in response_proxy.

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

setContent ( content  ) 

set the response content

Parameters:
mixed $content

Definition at line 49 of file response/abstract.class.php.


Field Documentation

$cfg [protected, inherited]

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

$content [protected]

Definition at line 17 of file response/abstract.class.php.

$proxy = null [protected]

Definition at line 24 of file response/abstract.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Enumerations
Generated on Thu Jan 26 2012 18:40:08 for nyroFwk by doxygen 1.7.1