예제 #1
0
파일: Doctrine.php 프로젝트: ksst/kf
 /**
  * Development / Helper Method for displaying loaded Models.
  */
 public static function debugLoadedClasses()
 {
     $em = self::getEntityManager();
     $config = $em->getConfiguration();
     #$config->addEntityNamespace('Core', $module_models_path); // = Core:Session
     #$config->addEntityNamespace('Module', $module_models_path); // = Module:News
     $classes_loaded = $config->getMetadataDriverImpl()->getAllClassNames();
     \Koch\Debug\Debug::printR($classes_loaded);
 }
예제 #2
0
 public static function debug()
 {
     \Koch\Debug\Debug::printR(self::$parameters);
 }