public function loadCache()
    {
        if (empty($this->name))
            throw new DBException("Please provide a name for the schema when using the cache");

        $cachemgr = CacheManager::getInstance();
        $this->tables = $cachemgr->getCache('dbschema_' . $this->name);
    }
public function loadCache()
    {
        if (empty($this->name))
            throw new DBException("Please provide a name for the schema when using the cache");

        $cachemgr = CacheManager::getInstance();
        $this->tables = $cachemgr->getCache('dbschema_' . $this->name);
    }
public function loadCache ( ) { if ( empty ( $ this -> name ) ) throw new DBException ( "Please provide a name for the schema when using the cache" ) ; $ cachemgr = CacheManager :: getInstance ( ) ; $ this -> tables = $ cachemgr -> getCache ( 'dbschema_' . $ this -> name ) ; }
Load the cache containing table definitions
Load the cache containing table definitions