/** * called with TRUE when a dumped variable wants to be displayed collapsed, called each time * w/o parameters before displaying a variable - basicly a method to comunicate with the callee * * @static * @param bool $bool * @return string */ private static function _collapsed($bool = FALSE, $extraClass = '') { $class = ''; $element = ''; if (self::$_collapsed) { $element = '<div class="kint-plus"></div>'; $class = ' class="kint-parent"'; } self::$_collapsed = $bool; return array($class, $element); }