Switchboard
  • Namespace
  • Class
  • Tree

Namespaces

  • Fluxsauce
    • Switchboard

Classes

  • EnvDb
  • Environment
  • Persistent
  • Project
  • Provider
  • ProviderAcquia
  • ProviderPantheon
  • Site
  • Sqlite

Class Sqlite

The Switchboard brain.

Namespace: Fluxsauce\Switchboard
Package: Fluxsauce\Switchboard
Located at library/fluxsauce/switchboard/src/Sqlite.php

Methods summary

public static string
# getLocation( )

Get the location of the Switchboard brain.

Get the location of the Switchboard brain.

Returns

string
The full path to the location of the brain.
public static boolean
# setLocation( string $brain_path )

Set the location of the switchboard brain.

Set the location of the switchboard brain.

Parameters

$brain_path
string
$brain_path The full path to the new location of the brain.

Returns

boolean
TRUE if successful.
public static
# destroy( )

Destroy the SQLite database.

Destroy the SQLite database.

public static
# destroyTable( string $table )

Drop a specific table from the SQLite database.

Drop a specific table from the SQLite database.

Parameters

$table
string
$table The victim table.
public static PDO
# get( )

Get the SQLite PDO.

Get the SQLite PDO.

Returns

PDO
Fully set up SQLite PDO, including tables.

Magic methods summary

Switchboard API documentation generated by ApiGen 2.8.0