MySqlStorage MySqlStorage(
$config
)
|
|
Parameters:
Parameters:
API Tags:
See: | GalleryStorage::decodeBlob |
Redefinition of:
- GalleryStorage::decodeBlob()
- Decode a blob of binary data into a form that's safe for a varchar column
Parameters:
API Tags:
See: | GalleryStorage::encodeBlob |
Redefinition of:
- GalleryStorage::encodeBlob()
- Encode a blob of binary data into a form that's safe for a varchar column
void getFunctionSql(
$functionName,
$args
)
|
|
Parameters:
API Tags:
See: | GalleryStorage::getFunctionsSql |
Redefinition of:
- GalleryStorage::getFunctionSql()
- Return a customized function for this database platform
Return the type of this database
void getUniqueId(
[
$sequence = DATABASE_SEQUENCE_ID]
)
|
|
Parameters:
API Tags:
See: | GalleryStorage::getUniqueId |
Redefinition of:
- GalleryStorage::getUniqueId()
- Get a new, unique id
Get database version.
API Tags:
void _getSqlReplacements(
)
|
|
API Tags:
See: | GalleryStorage::_getSqlReplacements |
Redefinition of:
- GalleryStorage::_getSqlReplacements()
- Return database specific syntax to replace in schema SQL
void _setConnectionSettings(
&$db
)
|
|
Parameters:
API Tags:
See: | GalleryStorage::_setConnectionSettings |
Redefinition of:
- GalleryStorage::_setConnectionSettings()
- Set runtime settings for the given database connection.
void _truncateString(
$value,
$size, [
$lengthInBytes = false]
)
|
|
Truncate UTF-8 strings either to given character or to byte length depending on the MySQL version.
Parameters:
|
$value: |
|
|
$size: |
|
|
$lengthInBytes: |
|
API Tags:
See: | GalleryStorage::_truncateString |
Redefinition of:
- GalleryStorage::_truncateString()
- Perform a UTF-8-safe truncation of the string to a size