public function getTables($database=null)
    {
        if (empty($database)) $database = $this->getDatabase();
        
        $key  = 'db/tables/' . $database;
        $data = static::getCache()->get($key);
        if (!$data) {
            $data = $this->getAdapter()->getTables($database);
            static::getCache()->set($key, $data);
        }
        return $data;
    }
public function getTables($database=null)
    {
        if (empty($database)) $database = $this->getDatabase();
        
        $key  = 'db/tables/' . $database;
        $data = static::getCache()->get($key);
        if (!$data) {
            $data = $this->getAdapter()->getTables($database);
            static::getCache()->set($key, $data);
        }
        return $data;
    }
public function getTables ( $ database = null ) { if ( empty ( $ database ) ) $ database = $ this -> getDatabase ( ) ; $ key = 'db/tables/' . $ database ; $ data = static :: getCache ( ) -> get ( $ key ) ; if ( ! $ data ) { $ data = $ this -> getAdapter ( ) -> getTables ( $ database ) ; static :: getCache ( ) -> set ( $ key , $ data ) ; } return $ data ; }
Get an array of the tables of the database.

@return array
Get an array of the tables of the database .