Changes between Version 5 and Version 6 of Jaws2/Internals/Toolkit

Show
Ignore:
Author:
nicobn (IP: 169.254.0.2)
Timestamp:
08/25/07 04:39:13 (11 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Jaws2/Internals/Toolkit

    v5 v6  
    1515If you need to get the path to a class file, you can use the {{{Jaws_Toolkit::classToPath(string $class)}}} function. It will simply return the path in a string, without the .php extension. This method also works for vendor libraries if they are registered in the function. See the source for more details. 
    1616 
     17== Customized backtrace print == 
     18PHP's {{{debug_backtrace()}}} produces way too much data when used with complex objects, like Doctrine records. This is why a customized backtrace parser was developed. Instead of printing the content of an object used as a parameter, it simply prints its class name. It is accessed with method {{{Jaws::backtraceToString(array $backtrace)}}} and returns a string containing the backtrace.  
     19 
    1720=== [wiki:Jaws2/Internals < Click here to go back to Jaws 2 internals section] ===