core/xpdo/om/sqlite/xpdodriver.class.php

Show: inherited
Table of Contents

The sqlite implementation of the xPDODriver class.

Package
xpdo  
Subpackage
om.sqlite  

\xPDODriver_sqlite

Package: xpdo\om\sqlite

Provides sqlite driver abstraction for an xPDO instance.

This is baseline metadata and methods used throughout the framework. xPDODriver class implementations are specific to a PDO driver and this instance is implemented for sqlite.

Parent(s)
\xPDODriver

Properties

Propertypublicarray  $_currentDates= 'array( "CURRENT_DATE" )'

An array of DB constants/functions that represent date values.

Default valuearray( "CURRENT_DATE" )Details
Type
array
Propertypublicarray  $_currentTimes= 'array( "CURRENT_TIME" )'

An array of DB constants/functions that represent time values.

Default valuearray( "CURRENT_TIME" )Details
Type
array
Propertypublicarray  $_currentTimestamps= 'array( "CURRENT_TIMESTAMP" )'

An array of DB constants/functions that represent timestamp values.

Default valuearray( "CURRENT_TIMESTAMP" )Details
Type
array
Propertypublicarray  $dbtypes= 'array ()'
inherited

Describes the physical database types.Inherited from: \xPDODriver::$$dbtypes
Default valuearray ()Details
Type
array
Inherited_from
\xPDODriver::$$dbtypes  
Propertypublic  $escapeCloseChar= ''"''
Default value'"'Details
Type
n/a
Propertypublic  $escapeOpenChar= ''"''
Default value'"'Details
Type
n/a
Propertypublic  $quoteChar= '"'"'
Default value"'"Details
Type
n/a
Propertypublic\xPDO  $xpdo= 'null'
inherited

A reference to the XPDO instance using this manager.Inherited from: \xPDODriver::$$xpdo
Default valuenullDetails
Type
\xPDO
Access
public  
Inherited_from
\xPDODriver::$$xpdo  

Methods

methodpublic__construct( \xPDO $xpdo ) : void

Get a sqlite xPDODriver instance.

Parameters
Name Type Description
$xpdo \xPDO

&$xpdo A reference to a specific xPDO instance.

methodpublicgetPhpType( string $dbtype ) : string
inherited

Gets the PHP field type based upon the specified database type.

Inherited from: \xPDODriver::getPhpType()
Parameters
Name Type Description
$dbtype string

The database field type to convert.

Returns
Type Description
string The associated PHP type
Details
Access
public  
Documentation was generated by DocBlox 0.18.1.