|
Agile Toolkit
4.2
Agile Toolkit is a powerful web development framework. Inspired by GUI Applications development
|
Public Member Functions | |
| init () | |
| __construct ($msg, $func=null, $shift=1, $code=0) | |
| collectBasicData ($func, $shift, $code) | |
| addMoreInfo ($key, $value) | |
| addThis ($t) | |
| addAction ($key, $descr) | |
| getMyTrace () | |
| getAdditionalMessage () | |
| getMyFile () | |
| getMyLine () | |
| getHTML ($message=null) | |
| getText () | |
| getDetailedHTML () | |
Data Fields | |
| $my_backtrace | |
| $shift = 0 | |
| $name | |
| $owner = null | |
| $api = null | |
| $more_info = array() | |
| $actions | |
BaseException is parent of all exceptions in Agile Toolkit which are meant to be for informational purposes. There are also some exceptions (StopInit) which are used for data-flow.
Learn:
Reference:
| __construct | ( | $ | msg, |
| $ | func = null, |
||
| $ | shift = 1, |
||
| $ | code = 0 |
||
| ) |
Reimplemented in PathFinder_Exception, and SQLException.
| addAction | ( | $ | key, |
| $ | descr | ||
| ) |
Actions will be displayed as links on the exception page allowing viewer to perform additional debug functions. addAction('show info',array('info'=>true)) will result in link to &info=1
| addMoreInfo | ( | $ | key, |
| $ | value | ||
| ) |
Call this to add additional information to the exception you are about to throw
| addThis | ( | $ | t | ) |
Add reference to the object. Do not call this directly, exception() method takes care of that
| collectBasicData | ( | $ | func, |
| $ | shift, | ||
| $ | code | ||
| ) |
| getDetailedHTML | ( | ) |
Redefine this function to add additional HTML output
Reimplemented in DBlite_exception.
| getHTML | ( | $ | message = null | ) |
Returns HTML representation of the exceptoin
Reimplemented in SQLException.
| getMyFile | ( | ) |
| getMyLine | ( | ) |
| getMyTrace | ( | ) |
| getText | ( | ) |
Returns Textual representaiton of the exception
| init | ( | ) |
Reimplemented in Exception_Template.
| $actions |
| $api = null |
| $more_info = array() |
| $my_backtrace |
| $name |
| $owner = null |
| $shift = 0 |