NameEntity extends DataManager
AbstractYes
Table of Contents
Methods
- addAbsentForOwner() : void
- Get existed translations for $primaryOwner and add only non-existed ones from $names
- addMultipleForOwner() : void
- Add translations for $primaryOwner
- deleteMultipleByParentRangeSql() : mixed
- This method is for internal use only. It may be changed without any notification further, or even mystically disappear.
- deleteMultipleForOwner() : void
- Delete translations for $primaryOwner
- getLanguageFieldName() : mixed
- getReferenceFieldName() : mixed
- updateMultipleForOwner() : void
- Update translations for $primaryOwner
Methods
addAbsentForOwner()
Get existed translations for $primaryOwner and add only non-existed ones from $names
public
static addAbsentForOwner(mixed $primaryOwner, array<string|int, string> $names[, mixed $behaviour = array('TREAT_EMPTY_AS_ABSENT' => true) ]) : void
Parameters
- $primaryOwner : mixed
-
Primary key of the item
- $names : array<string|int, string>
-
A set of translations for the item
- $behaviour : mixed = array('TREAT_EMPTY_AS_ABSENT' => true)
addMultipleForOwner()
Add translations for $primaryOwner
public
static addMultipleForOwner(mixed $primaryOwner[, array<string|int, string> $names = array() ]) : void
Parameters
- $primaryOwner : mixed
-
Primary key of the item
- $names : array<string|int, string> = array()
-
A set of translations for the item
deleteMultipleByParentRangeSql()
This method is for internal use only. It may be changed without any notification further, or even mystically disappear.
public
static deleteMultipleByParentRangeSql(mixed $sql) : mixed
Parameters
- $sql : mixed
Tags
deleteMultipleForOwner()
Delete translations for $primaryOwner
public
static deleteMultipleForOwner(mixed $primaryOwner) : void
Parameters
- $primaryOwner : mixed
-
Primary key of the item
getLanguageFieldName()
public
static getLanguageFieldName() : mixed
getReferenceFieldName()
public
abstract static getReferenceFieldName() : mixed
updateMultipleForOwner()
Update translations for $primaryOwner
public
static updateMultipleForOwner(mixed $primaryOwner, array<string|int, string> $names) : void
Parameters
- $primaryOwner : mixed
-
Primary key of the item
- $names : array<string|int, string>
-
A set of translations for the item