Class LoggerLocationInfo

Description

The internal representation of caller location information.

  • version: $Revision: 822448 $
  • since: 0.3

Located in /LoggerLocationInfo.php (line 28)


	
			
Class Constant Summary
Variable Summary
string $className
string $fileName
string $fullInfo
string $lineNumber
string $methodName
Method Summary
LoggerLocationInfo __construct (array $trace, [ $fqcn = null], mixed $caller)
void getClassName ()
void getFileName ()
void getFullInfo ()
void getLineNumber ()
void getMethodName ()
Variables
string $className = null (line 49)
  • var: Caller's fully qualified class name.
  • access: protected
string $fileName = null (line 44)
  • var: Caller's file name.
  • access: protected
string $fullInfo = null (line 59)
  • access: protected
string $lineNumber = null (line 39)
  • var: Caller's line number.
  • access: protected
string $methodName = null (line 54)
  • var: Caller's method name.
  • access: protected
Methods
Constructor __construct (line 67)

Instantiate location information based on a http://www.php.net/debug_backtrace.

  • access: public
LoggerLocationInfo __construct (array $trace, [ $fqcn = null], mixed $caller)
  • array $trace
  • mixed $caller
  • $fqcn
getClassName (line 76)
  • access: public
void getClassName ()
getFileName (line 84)

Return the file name of the caller.

This information is not always available.

  • access: public
void getFileName ()
getFullInfo (line 106)

Returns the full information of the caller.

  • access: public
void getFullInfo ()
getLineNumber (line 92)

Returns the line number of the caller.

This information is not always available.

  • access: public
void getLineNumber ()
getMethodName (line 99)

Returns the method name of the caller.

  • access: public
void getMethodName ()
Class Constants
LOCATION_INFO_NA = 'NA' (line 34)

When location information is not available the constant NA is returned. Current value of this string constant is ?.

Documentation generated on Sat, 18 Feb 2012 22:32:25 +0000 by phpDocumentor 1.4.3