public function getTableCreateSql($tableName)
    {
        $tables = DbHelper::getTablesCreateSql();

        if (!isset($tables[$tableName])) {
            throw new Exception("The table '$tableName' SQL creation code couldn't be found.");
        }

        return $tables[$tableName];
    }
public function getTableCreateSql($tableName)
    {
        $tables = DbHelper::getTablesCreateSql();

        if (!isset($tables[$tableName])) {
            throw new Exception("The table '$tableName' SQL creation code couldn't be found.");
        }

        return $tables[$tableName];
    }
public function getTableCreateSql ( $ tableName ) { $ tables = DbHelper :: getTablesCreateSql ( ) ; if ( ! isset ( $ tables [ $ tableName ] ) ) { throw new Exception ( "The table '$tableName' SQL creation code couldn't be found." ) ; } return $ tables [ $ tableName ] ; }
Get the SQL to create a specific Piwik table

@param string $tableName
@throws Exception
@return string  SQL
Get the SQL to create a specific Piwik table