protected function setTableCache($tblSrc)
    {
        $dat = $this->establishDatabaseAndTable($tblSrc);
        if (!isset($this->advCache['tableStructureCache'][$dat[0]][$dat[1]])) {
            $this->advCache['workingDatabase']                       = $dat[0];
            $this->advCache['tableStructureCache'][$dat[0]][$dat[1]] = $this->getMySQLlistColumns([
                'TABLE_SCHEMA' => $dat[0],
                'TABLE_NAME'   => $dat[1],
            ]);
            $this->setTableForeignKeyCache($dat[0], $dat[1]);
        }
    }
protected function setTableCache($tblSrc)
    {
        $dat = $this->establishDatabaseAndTable($tblSrc);
        if (!isset($this->advCache['tableStructureCache'][$dat[0]][$dat[1]])) {
            $this->advCache['workingDatabase']                       = $dat[0];
            $this->advCache['tableStructureCache'][$dat[0]][$dat[1]] = $this->getMySQLlistColumns([
                'TABLE_SCHEMA' => $dat[0],
                'TABLE_NAME'   => $dat[1],
            ]);
            $this->setTableForeignKeyCache($dat[0], $dat[1]);
        }
    }
protected function setTableCache ( $ tblSrc ) { $ dat = $ this -> establishDatabaseAndTable ( $ tblSrc ) ; if ( ! isset ( $ this -> advCache [ 'tableStructureCache' ] [ $ dat [ 0 ] ] [ $ dat [ 1 ] ] ) ) { $ this -> advCache [ 'workingDatabase' ] = $ dat [ 0 ] ; $ this -> advCache [ 'tableStructureCache' ] [ $ dat [ 0 ] ] [ $ dat [ 1 ] ] = $ this -> getMySQLlistColumns ( [ 'TABLE_SCHEMA' => $ dat [ 0 ] , 'TABLE_NAME' => $ dat [ 1 ] , ] ) ; $ this -> setTableForeignKeyCache ( $ dat [ 0 ] , $ dat [ 1 ] ) ; } }
create a Cache for given table to use it in many places

@param string $tblSrc
create a Cache for given table to use it in many places