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 string getClass ( ) [line 112]

Returns the class name


[ Top ]
public string getFile ( ) [line 94]

Returns the file


[ Top ]
public string getFunction ( ) [line 106]

Returns the function/method


[ Top ]
public int getLine ( ) [line 100]

Returns the line number


[ Top ]
public string getMessage ( ) [line 88]

Returns the message


[ Top ]
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 num getTime ( ) [line 82]

Returns the time when message occured


[ 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 ]
public void setSeconds ( [num $time] ) [line 73]

Sets the time (in seconds) to get to debug message from last message

Parameter(s):

  • (num) $time

[ Top ]