dokeos-library
[ class tree: dokeos-library ] [ index: dokeos-library ] [ all elements ]

Class: api_failure

Source Location: /main/inc/lib/main_api.lib.php

Class Overview


collects and manage failures occuring during script execution The main purpose is allowing to manage the display messages externaly from functions or objects. This strengthens encupsalation principle


Author(s):

Variables

Methods



Class Details

[line 1060]
collects and manage failures occuring during script execution The main purpose is allowing to manage the display messages externaly from functions or objects. This strengthens encupsalation principle



Tags:

author:  Hugues Peeters <hugues.peeters@claroline.net>


[ Top ]


Class Variables

$api_failureList = array ()

[line 1069]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


method get_last_failure [line 1091]

string get_last_failure( void 0)

get the last failure stored



Tags:

return:  - the last failure stored
author:  Hugues Peeters <hugues.peeters@claroline.net>


Parameters:

void   0  

[ Top ]

method set_failure [line 1078]

void set_failure( $failureType)



Parameters:

   $failureType  

[ Top ]


Documentation generated on Thu, 12 Jun 2008 14:04:43 -0500 by phpDocumentor 1.4.1