Index: branches/5.2.x/core/kernel/kbase.php =================================================================== diff -u -N -r15252 -r15552 --- branches/5.2.x/core/kernel/kbase.php (.../kbase.php) (revision 15252) +++ branches/5.2.x/core/kernel/kbase.php (.../kbase.php) (revision 15552) @@ -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(); + } }