private static function _getContextString($context, $prefix = '') { $result = ''; foreach ($context as $varName => $varVal) { if (class_exists('Panda_Debug')) { $result .= Panda_Debug::dump($varVal, $prefix . $varName); } else { $result .= $varName . ' = ' . print_r($varVal, true); } } return $result; }
/** * リフレクション * * @param unknown_type $target * @param unknown_type $cehckParent * * @return void */ function r($target, $cehckParent = false) { Panda_Debug::reflect($target, $cehckParent); }