|
Previous Page |
Solar_Sql_Adapter_MysqlReplicated |
Next Page |
_getDefault()
protected
scalar
_getDefault (
string $default
)
Given a native column SQL default value, finds a PHP literal value.
Inherited from Solar_Sql_Adapter_Mysql.
Parameters
- (string)
$default: The column default SQL value.
Returns
- (scalar) A literal PHP value.
Description
Given a native column SQL default value, finds a PHP literal value.
SQL NULLs are converted to PHP nulls. Non-literal values (such as keywords and functions) are also returned as null.
Local
- Overview
- Config
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _addProfile()
- _bind()
- _buildConfig()
- _buildDsn()
- _checkIdentifier()
- _checkIdentifierColumn()
- _checkIdentifierPart()
- _createSequence()
- _dropIndex()
- _dropSequence()
- _exception()
- _fetchIndexInfo()
- _fetchTableCols()
- _fetchTableList()
- _getCacheKey()
- _getDefault()
- _getTypeSizeScope()
- _modAutoincPrimary()
- _modIndexName()
- _modSelect()
- _modSequenceName()
- _nextSequence()
- _postConfig()
- _postConnect()
- _postConnectMaster()
- _postConstruct()
- _preConfig()
- _prepare()
- _quoteName()
- _quoteNamesIn()
- _select()
- _selectCompound()
- _selectSingle()
- _setDsn()
- _setup()
- _splitSchemaIdent()
- _sqlColdef()
- _sqlCreateTable()
- addColumn()
- begin()
- commit()
- connect()
- connectMaster()
- createIndex()
- createSequence()
- createTable()
- delete()
- disconnect()
- dropColumn()
- dropIndex()
- dropSequence()
- dropTable()
- dump()
- fetchAll()
- fetchAssoc()
- fetchCol()
- fetchIndexInfo()
- fetchOne()
- fetchPairs()
- fetchPdo()
- fetchSql()
- fetchTableCols()
- fetchTableList()
- fetchValue()
- getCache()
- getCacheKeyPrefix()
- getPdo()
- getPdoMaster()
- getProfile()
- insert()
- lastInsertId()
- locale()
- nextSequence()
- query()
- quote()
- quoteInto()
- quoteMulti()
- quoteName()
- quoteNamesIn()
- rollback()
- setCache()
- setCacheKeyPrefix()
- setProfiling()
- update()