Index: branches/5.3.x/core/kernel/kbase.php =================================================================== diff -u -N -r15483 -r15578 --- branches/5.3.x/core/kernel/kbase.php (.../kbase.php) (revision 15483) +++ branches/5.3.x/core/kernel/kbase.php (.../kbase.php) (revision 15578) @@ -1,6 +1,6 @@ prefixSpecial; } + + /** + * Creates string representation of a class (for logging) + * + * @return string + * @access public + */ + public function __toString() + { + return 'ClassName: ' . get_class($this) . '; PrefixSpecial: ' . $this->getPrefixSpecial(); + } }