Открытые члены | |
__construct () | |
save () | |
delete () | |
getId () | |
setId ($id) | |
getCreatedAt () | |
setCreatedAt (DateTime $createdAt) | |
getUpdatedAt () | |
setUpdatedAt (DateTime $updatedAt) | |
loadAttribute ($attributeName) | |
getErrors () | |
getCurrentDbState () | |
Открытые статические члены | |
static | getTableClassName () |
static | getMapAttributes () |
static | getMapReferenceAttributes () |
static | getClassName () |
static | load ($filter, array $with=array(), $order=array()) |
static | loadById ($id) |
static | factoryWithHorizontalCells ($cellCount=1) |
Открытые атрибуты | |
const | ATTRIBUTE_SLICE_DELIMITER = '__' |
Защищенные статические члены | |
static | getModelList (array $parameters) |
static | prepareGetListParameters (array $parameters) |
Защищенные данные | |
$id | |
$createdAt | |
$updatedAt | |
$errors | |
__construct | ( | ) |
delete | ( | ) |
|
static |
getErrors | ( | ) |
|
static |
Returns the list of pair for mapping data and object properties. Key is field in DataManager, value is object property.
Переопределяется в Configuration, Dashboard, DashboardRow, Report и Widget.
|
static |
Returns map of lazy loaded attributes of current model. supported relation types ONE_TO_MANY, MANY_TO_ONE, MANY_TO_MANY example: array( 'lazyLoadAttributeName_1' => array( 'type' => Common::ONE_TO_MANY, 'targetEntity' => TargetEntityClass::getClassName(), //inheritor of this class 'mappedBy' => 'targetEntityField', ), 'lazyLoadAttributeName_2' => array( 'type' => Common::MANY_TO_ONE, 'targetEntity' => TargetEntityClass::getClassName(), //inheritor of this class 'inveredBy' => '', 'join' => array( 'field' => array('thisFieldName', 'relationEntityFieldMame') ) ), 'lazyLoadAttributeName_1' => array( 'type' => Common::MANY_TO_MANY, 'targetEntity' => TargetEntityClass::getClassName(), //inheritor of this class 'join' => array( 'tableClassName' => TableClassName::getClassName //Supporting table ORM class name for connecting 2 entities 'column' => array(SUPPORTING_CONNECT_COLUMN => array('thisPrimaryFieldName', 'SUPPORTING_TABLE_APPROPRIATE_FIELD_NAME')), 'inverseColumn' => array(SUPPORTING_CONNECT_COLUMN => array('relationEntityPrimaryFieldName', 'SUPPORTING_TABLE_APPROPRIATE_FIELD_NAME')), ), ) )
Переопределяется в Dashboard, DashboardRow, Report и Widget.
|
staticprotected |
|
static |
Gets the fully qualified name of table class which belongs to current model.
Bitrix\Main\NotImplementedException
Переопределяется в Configuration, Dashboard, DashboardRow, Report и Widget.
|
static |
loadAttribute | ( | $attributeName | ) |
|
static |
|
staticprotected |
setCreatedAt | ( | DateTime | $createdAt | ) |
setId | ( | $id | ) |
setUpdatedAt | ( | DateTime | $updatedAt | ) |