Class MDatabaseDatastore
Datastore based on a database. Actually only mysql is supported.
Store is devided in webfiles and metadata. webfiles represent the
content of data. Metadata contains a mapping from lassname to tablename
and the version of the webfile definition.
- webfilesframework\core\datasystem\file\format\MWebfile
- webfilesframework\core\datastore\MAbstractDatastore
- webfilesframework\core\datastore\types\database\MDatabaseDatastore implements webfilesframework\core\datastore\MISingleDatasourceDatastore
Namespace: webfilesframework\core\datastore\types\database
Author: Sebastian Monzel < mail@sebastianmonzel.de >
Since: 0.1.7
Located at core/datastore/types/database/MDatabaseDatastore.php
Author: Sebastian Monzel < mail@sebastianmonzel.de >
Since: 0.1.7
Located at core/datastore/types/database/MDatabaseDatastore.php
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
array
|
#
getWebfilesAsArray( )
Returns als webfiles defined in datastore as array. (without looking for type of webfile) |
public
integer
|
|
public
array|
|
|
public
mixed|null
|
|
public
array
|
|
public
|
|
public
|
|
public
|
string |
METADATANORMALIZATION_TABLE_COLUMNNAME_WEBFILEID
|
#
"webfileid"
|
string |
METADATANORMALIZATION_TABLE_COLUMNNAME_TIME
|
#
"time"
|
string |
METADATANORMALIZATION_TABLE_COLUMNNAME_CLASSNAME
|
#
"classname"
|
string |
METADATA_TABLE_COLUMNNAME_CLASSNAME
|
#
"classname"
|
string |
METADATA_TABLE_COLUMNNAME_VERSION
|
#
"version"
|
string |
METADATA_TABLE_COLUMNNAME_TABLENAME
|
#
"tablename"
|
$m_iId,
$m_iTime
|