-
Notifications
You must be signed in to change notification settings - Fork 35
icms_core_Debug
Raimondas Rimkevičius edited this page Mar 9, 2020
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!
A static class for debugging
Using a static class instead of a include file with global functions, along with autoloading of classes, reduces the memory usage and only includes files when needed.
- Class name: icms_core_Debug
- Namespace:
mixed icms_core_Debug::message(string msg, bool exit)
Output a line of debug This takes the place of icms_debug()
- Visibility: public
- This method is static.
- msg string
- exit bool
mixed icms_core_Debug::vardump(string var)
Output a dump of a variable This takes the place of icms_debug_vardump()
- Visibility: public
- This method is static.
- var string
mixed icms_core_Debug::setDeprecated(string replacement, string extra)
Provides a backtrace for deprecated methods and functions, will be in the error section of debug This takes the place of icms_deprecated()
- Visibility: public
- This method is static.
- replacement string - <p>Method or function to be used instead of the deprecated method or function</p>
- extra string - <p>Additional information to provide about the change</p>