Свойство | Тип | Описание | |
---|---|---|---|
$manyHasManyStorageNamePattern | string |
Свойство | Тип | Описание | |
---|---|---|---|
$entityPrimaryKey | array | ||
$mappings | array | ||
$modifiers | array | ||
$platform | Nextras\Dbal\Platforms\IPlatform | ||
$storageName | string | ||
$storagePrimaryKey | array |
Метод | Описание | |
---|---|---|
__construct ( Nextras\Dbal\Connection $connection, $storageName, array $entityPrimaryKey, |
||
addMapping ( string $entity, string $storage, callable $toEntityCb = null, callable $toStorageCb = null ) : |
Adds mapping. | |
addModifier ( string $storageKey, string $saveModifier ) : |
Adds parameter modifier for data-trasform to Nextras Dbal layer. | |
convertEntityToStorage ( $in ) | ||
convertEntityToStorageKey ( $key ) | ||
convertStorageToEntity ( $in ) | ||
convertStorageToEntityKey ( $key ) | ||
getManyHasManyStorageName ( Nextras\Orm\Mapper\IMapper $target ) | ||
getManyHasManyStoragePrimaryKeys ( Nextras\Orm\Mapper\IMapper $target ) | ||
getPrimarySequenceName ( ) | ||
getStorageName ( ) | ||
getStoragePrimaryKey ( ) | ||
setMapping ( string $entity, string $storage, callable $toEntityCb = null, callable $toStorageCb = null ) : |
Sets mapping. |
Метод | Описание | |
---|---|---|
findManyHasManyPrimaryColumns ( $joinTable, $sourceTable, $targetTable ) | ||
formatEntityForeignKey ( $key ) | ||
formatEntityKey ( $key ) | ||
formatStorageKey ( $key ) | ||
getDefaultMappings ( ) | ||
getDefaultModifiers ( ) |
public __construct ( Nextras\Dbal\Connection $connection, $storageName, array $entityPrimaryKey, |
||
$connection | Nextras\Dbal\Connection | |
$entityPrimaryKey | array | |
$cache |
public addModifier ( string $storageKey, string $saveModifier ) : |
||
$storageKey | string | |
$saveModifier | string | |
Результат |
protected findManyHasManyPrimaryColumns ( $joinTable, $sourceTable, $targetTable ) |
abstract protected formatEntityForeignKey ( $key ) |
public getManyHasManyStorageName ( Nextras\Orm\Mapper\IMapper $target ) | ||
$target | Nextras\Orm\Mapper\IMapper |
public getManyHasManyStoragePrimaryKeys ( Nextras\Orm\Mapper\IMapper $target ) | ||
$target | Nextras\Orm\Mapper\IMapper |
public string $manyHasManyStorageNamePattern | ||
Результат | string |
protected IPlatform,Nextras\Dbal\Platforms $platform | ||
Результат | Nextras\Dbal\Platforms\IPlatform |