phpDocumentor GloryLands
System
[ class tree: GloryLands ] [ index: GloryLands ] [ all elements ]

Class: GLStream

Source Location: /engine/lib/system/glstreamdef.php

Class GLStream

Class Overview

Root Stream Structure In Glorylands, "streams" are core structures that provide the run-time environment for an action. of the environment, execution and rendering.

Root Stream Structure In Glorylands, "streams" are core structures that provide the run-time environment for an action. This involves initialization of the environment, execution and rendering. In detail, each stream works in the following way:

  1. It initializes the data carrier that will hold all the response information till the render (Stored in GL::$stream).
  2. It performs all the initializations that have to be done before the action is processed.
  3. It runs the action.
  4. It renders the result.
  5. And finally, it finalizes the scripts before shutdown.

Located in /engine/lib/system/glstreamdef.php [line 53]



		
				Author(s):
		
Information Tags:
Version:  1.0

Properties

Methods

[ Top ]
Descendants
Child Class Description
srm_api
srm_view

[ Top ]
Property Summary
mixed   $headers  
mixed   $parameters  
mixed   $variables  

[ Top ]
Method Summary
GLStream   __construct()   Initialize the stream, passing the already initialized headers
void   finalize()   Finalize the stream
void   initialize()   Called when the request is ready to be processed.
void   is_valid()   Check if this stream is valid for handling this action
void   post_initialize()   Called after the main initialization.
void   pre_initialize()   Called right before the main initialization.
void   process()   Do the actual processing
void   render()   Render the result

[ Top ]
Properties
mixed   $headers [line 55]
API Tags:
Access:  protected


[ Top ]
mixed   $parameters [line 56]
API Tags:
Access:  protected


[ Top ]
mixed   $variables [line 57]
API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 69]

  GLStream __construct( &$headers, $parameters, $variables  )

Initialize the stream, passing the already initialized headers

Initialize the stream, passing the already initialized headers

Parameters:
   &$headers: 
   $parameters: 
   $variables: 

API Tags:
Access:  public


[ Top ]
finalize  [line 110]

  void finalize( )

Finalize the stream

Finalize the stream


API Tags:
Access:  public


[ Top ]
initialize  [line 85]

  void initialize( )

Called when the request is ready to be processed.

Called when the request is ready to be processed.


API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
is_valid  [line 62]

  void is_valid( )

Check if this stream is valid for handling this action

Check if this stream is valid for handling this action


API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
post_initialize  [line 91]

  void post_initialize( )

Called after the main initialization.

Called after the main initialization.


API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
pre_initialize  [line 78]

  void pre_initialize( )

Called right before the main initialization.

Called right before the main initialization.


API Tags:
Access:  public


[ Top ]
process  [line 97]

  void process( )

Do the actual processing

Do the actual processing


API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
render  [line 103]

  void render( )

Render the result

Render the result


API Tags:
Access:  public


Redefined in descendants as:

[ Top ]

Documentation generated on Tue, 13 Oct 2009 23:49:10 +0300 by phpDocumentor 1.4.1