mojavi
[ class tree: mojavi ] [ index: mojavi ] [ all elements ]

Class: ExecutionChain

Source Location: /ExecutionChain.class.php

Class Overview


ExecutionChain allows you to view all executed actions for a single request.


Author(s):

  • Sean Kerr

Methods


Inherited Variables

Inherited Methods


Class Details

[line 19]
ExecutionChain allows you to view all executed actions for a single request.



Tags:

since:  1.0
author:  Sean Kerr


[ Top ]


Class Methods


constructor ExecutionChain [line 37]

ExecutionChain &ExecutionChain( )

Create a new ExecutionChain instance.



Tags:

since:  1.0
access:  public


[ Top ]

method addRequest [line 54]

void addRequest( string $modName, string $actName, string &$action)

Add an action request to the chain.



Tags:

since:  1.0
access:  public


Parameters:

string   $modName   A module name.
string   $actName   An action name.
string   &$action   An Action instance.

[ Top ]

method getAction [line 75]

Action &getAction( int $index)

Retrieve the Action instance at the given index.



Tags:

return:  An Action instance, if the given index exists and the action was executed, otherwise NULL.
since:  1.0
access:  public


Parameters:

int   $index   The index from which you're retrieving.

[ Top ]

method getActionName [line 100]

string getActionName( int $index)

Retrieve the action name associated with the request at the given index.



Tags:

return:  An action name, if the given index exists, otherwise NULL.
since:  1.0
access:  public


Parameters:

int   $index   The index from which you're retrieving.

[ Top ]

method getModuleName [line 125]

string getModuleName( int $index)

Retrieve the module name associated with the request at the given index.



Tags:

return:  A module name, if the given index exists, otherwise NULL.
since:  1.0
access:  public


Parameters:

int   $index   The index from which you're retrieving.

[ Top ]

method getRequest [line 150]

array &getRequest( int $index)

Retrieve a request and its associated data.



Tags:

return:  An associative array containing information about an action request.
since:  1.0
access:  public


Parameters:

int   $index   The index from which you're retrieving.

[ Top ]

method getRequests [line 172]

array &getRequests( )

Retrieve all requests and their associated data.



Tags:

return:  An indexed array of action requests.
since:  1.0
access:  public


[ Top ]

method getSize [line 187]

int getSize( )

Retrieve the size of the chain.



Tags:

return:  The size of the chain.
since:  1.0
access:  public


[ Top ]


Documentation generated on Wed, 15 Jun 2005 11:43:24 +0900 by phpDocumentor 1.2.3