/** * Load the internal Dao map for a given entity class * * @param string $class The classname of the entity that we are trying to load map for */ public static function loadMap($class) { if (!DaoMap::hasMap($class)) { $obj = new $class(); $obj->__loadDaoMap(); } }