Class Model
Responsibility - static methods for connections, configuration and for active record properties manipulation.
- Database \PDO
connecting by config settings.
- Reading db
section configuration(s) from system config.ini
file.
- Resource class with SQL queries localization, instancing and caching.
- Data methods for manipulating properties based on active record pattern.
- Meta data about properties parsing and caching.
- Magic methods handling.
-
MvcCore\Ext\Models\Model
implements
MvcCore\IModel,
MvcCore\Ext\Models\IModel,
MvcCore\Ext\Models\Db\Model\IConstants
uses
MvcCore\Model\Props,
MvcCore\Model\Config,
MvcCore\Model\Resource,
MvcCore\Model\MagicMethods,
MvcCore\Model\Comparers,
MvcCore\Model\Converters,
MvcCore\Ext\Models\Db\Model\Features
Methods inherited from MvcCore\IModel
GetConfig(),
GetConfigs(),
GetConnection(),
GetResource(),
GetSysConfigProperties(),
GetTouched(),
GetValues(),
SetConfig(),
SetConfigs(),
SetValues(),
__call(),
__get(),
__set(),
__sleep()
|
Constants summary
string |
VERSION
MvcCore Extension - Model - Db - version:
Comparison by PHP function version_compare();
MvcCore Extension - Model - Db - version:
Comparison by PHP function version_compare();
See
http://php.net/manual/en/function.version-compare.php
|
|
Constants inherited from MvcCore\Model\IConstants
PROPS_CONVERT_CAMELCASE_TO_PASCALCASE,
PROPS_CONVERT_CAMELCASE_TO_UNDERSCORES,
PROPS_CONVERT_CASE_INSENSITIVE,
PROPS_CONVERT_PASCALCASE_TO_CAMELCASE,
PROPS_CONVERT_PASCALCASE_TO_UNDERSCORES,
PROPS_CONVERT_UNDERSCORES_TO_CAMELCASE,
PROPS_CONVERT_UNDERSCORES_TO_PASCALCASE,
PROPS_INHERIT,
PROPS_INITIAL_VALUES,
PROPS_NAMES_BY_CODE,
PROPS_NAMES_BY_DATABASE,
PROPS_PRIVATE,
PROPS_PROTECTED,
PROPS_PUBLIC
|
Constants inherited from MvcCore\Ext\Models\Db\Model\IConstants
METADATA_AUTO_INCREMENT,
METADATA_BY_CODE,
METADATA_BY_DATABASE,
METADATA_CONNECTIONS,
METADATA_PRIMARY_KEY,
METADATA_TABLES,
METADATA_UNIQUE_KEY,
TRANS_ISOLATION_READ_COMMITTED,
TRANS_ISOLATION_READ_UNCOMMITTED,
TRANS_ISOLATION_REPEATABLE_READ,
TRANS_ISOLATION_SERIALIZABLE
|