Docs For Class Zend_Db_Adapter_Pdo_Sqlite

## Class Zend_Db_Adapter_Pdo_Sqlite

Description

Class for connecting to MySQL databases and performing common operations.

- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Db/Adapter/Pdo/Sqlite.php (line 38)

    Zend_Db_Adapter_Abstract
       |
       --Zend_Db_Adapter_Pdo_Abstract
          |
          --Zend_Db_Adapter_Pdo_Sqlite

Variable Summary
string $_pdoType
Method Summary
Zend_Db_Adapter_Pdo_Sqlite __construct (array $config)
array describeTable ( $table)
string limit ( $sql, $count, $offset)
array listTables ()
string quoteIdentifier (string $ident)
void _dsn ()
Variables
string $_pdoType = 'sqlite' (line 45)

PDO type

- access: protected

#### Inherited Variables

Inherited from Zend_Db_Adapter_Abstract

> Zend_Db_Adapter_Abstract::$_config
> Zend_Db_Adapter_Abstract::$_connection
> Zend_Db_Adapter_Abstract::$_fetchMode
> Zend_Db_Adapter_Abstract::$_profiler

Methods
Constructor __construct (line 64)

Constructor.

$config is an array of key/value pairs containing configuration options. Note that the SQLite options are different than most of the other PDO adapters in that no username or password are needed. Also, an extra config key "sqlite2" specifies compatibility mode.

dbname => (string) The name of the database to user (required, use :memory: for memory-based database)

sqlite2 => (boolean) PDO_SQLITE defaults to SQLite 3. For compatibility with an older SQLite 2 database, set this to TRUE.

- access: public

Zend_Db_Adapter_Pdo_Sqlite __construct (array $config)

- array $config: An array of configuration keys.

Redefinition of:

Zend_Db_Adapter_Abstract::__construct()
  Constructor.

describeTable (line 119)

Returns the column descriptions for a table.

- access: public

array describeTable ( $table)

- $table

Redefinition of:

Zend_Db_Adapter_Abstract::describeTable()
  Returns the column descriptions for a table.

limit (line 142)

Adds an adapter-specific LIMIT clause to the SELECT statement.

- access: public

string limit ( $sql, $count, $offset)

- $sql
- $count
- $offset

Redefinition of:

Zend_Db_Adapter_Abstract::limit()
  Adds an adapter-specific LIMIT clause to the SELECT statement.

listTables (line 104)

Returns a list of the tables in the database.

- access: public

array listTables ()

Redefinition of:

Zend_Db_Adapter_Abstract::listTables()
  Returns a list of the tables in the database.

quoteIdentifier (line 93)

Quotes an identifier.

- return: The quoted identifier.
- access: public

string quoteIdentifier (string $ident)

- string $ident: The identifier.

Redefinition of:

Zend_Db_Adapter_Abstract::quoteIdentifier()
  Quotes an identifier.

_dsn (line 81)

DSN builder

- access: protected

void _dsn ()

Redefinition of:

Zend_Db_Adapter_Pdo_Abstract::_dsn()
  Creates a PDO DSN for the adapter from $this->_config settings.

#### Inherited Methods

Inherited From Zend_Db_Adapter_Pdo_Abstract

> Zend_Db_Adapter_Pdo_Abstract::lastInsertId()
> Zend_Db_Adapter_Pdo_Abstract::prepare()
> Zend_Db_Adapter_Pdo_Abstract::setFetchMode()
> Zend_Db_Adapter_Pdo_Abstract::_beginTransaction()
> Zend_Db_Adapter_Pdo_Abstract::_commit()
> Zend_Db_Adapter_Pdo_Abstract::_connect()
> Zend_Db_Adapter_Pdo_Abstract::_dsn()
> Zend_Db_Adapter_Pdo_Abstract::_quote()
> Zend_Db_Adapter_Pdo_Abstract::_rollBack()

Inherited From Zend_Db_Adapter_Abstract

> Zend_Db_Adapter_Abstract::__construct()
> Zend_Db_Adapter_Abstract::beginTransaction()
> Zend_Db_Adapter_Abstract::commit()
> Zend_Db_Adapter_Abstract::delete()
> Zend_Db_Adapter_Abstract::describeTable()
> Zend_Db_Adapter_Abstract::fetchAll()
> Zend_Db_Adapter_Abstract::fetchAssoc()
> Zend_Db_Adapter_Abstract::fetchCol()
> Zend_Db_Adapter_Abstract::fetchOne()
> Zend_Db_Adapter_Abstract::fetchPairs()
> Zend_Db_Adapter_Abstract::fetchRow()
> Zend_Db_Adapter_Abstract::getConnection()
> Zend_Db_Adapter_Abstract::getFetchMode()
> Zend_Db_Adapter_Abstract::getProfiler()
> Zend_Db_Adapter_Abstract::insert()
> Zend_Db_Adapter_Abstract::lastInsertId()
> Zend_Db_Adapter_Abstract::limit()
> Zend_Db_Adapter_Abstract::listTables()
> Zend_Db_Adapter_Abstract::prepare()
> Zend_Db_Adapter_Abstract::query()
> Zend_Db_Adapter_Abstract::quote()
> Zend_Db_Adapter_Abstract::quoteIdentifier()
> Zend_Db_Adapter_Abstract::quoteInto()
> Zend_Db_Adapter_Abstract::rollBack()
> Zend_Db_Adapter_Abstract::select()
> Zend_Db_Adapter_Abstract::setFetchMode()
> Zend_Db_Adapter_Abstract::update()
> Zend_Db_Adapter_Abstract::_beginTransaction()
> Zend_Db_Adapter_Abstract::_commit()
> Zend_Db_Adapter_Abstract::_connect()
> Zend_Db_Adapter_Abstract::_quote()
> Zend_Db_Adapter_Abstract::_rollBack()

Documentation generated on Sun, 29 Oct 2006 21:27:32 -0600 by phpDocumentor 1.3.0RC6