Gumbo_Interface_Debug_Message
Debug Message Interface
Author(s): |
Michael Luster <mluster79@yahoo.com> |
License: | New BSD License |
Copyright: | Copyright (c) 2007, iBayou, Michael Luster |
Link: | http://sourceforge.net/projects/phpgumbo |
Version: | 0.0.1 |
Interface Methods
public num getSeconds ( [num $time] )
[line 119]
Returns the time (in seconds) it took to execute the code from last message
Parameter(s):
- (num) $time :: last message time value
[ Top ]
public void setClass ( string $cls )
[line 67]
Sets the class name
Parameter(s):
- (string) $cls
[ Top ]
public void setFile ( string $file )
[line 47]
Sets the file where the message occured
Parameter(s):
- (string) $file
- precondition:
file_exists ($file)
[ Top ]public void setFunction ( string $func ) [line 60]Sets the function/method name
Parameter(s):
- (string) $func
- precondition:
function_exists ($func)
[ Top ]public void setLine ( int $line ) [line 53]Sets the line number of the message
Parameter(s):
- (int) $line
[ Top ]public void setMessage ( string $mess ) [line 40]Sets the message contents of the message
Parameter(s):
- (string) $mess
[ Top ]