Свойство | Type | Description | |
---|---|---|---|
$arr | array | ||
$class | |||
$objectId | integer |
Свойство | Type | Description | |
---|---|---|---|
$multivalent | Whether multivalent values are allowed. |
Méthode | Description | |
---|---|---|
__call ( $name, $arguments ) : array | mixed | null | void | ||
__construct ( ) | ||
__toString ( ) : string | ||
deleteEntryByKeyId ( $keyId ) | deletes an entry with the given keyId if the entry exists | |
getClass ( ) : |
||
getEntryByKeyId ( $keyId ) : array | null | ||
getInternalProperties ( ) : array | ||
getKeyId ( $propName, null $groupId = null ) : integer | ||
getKeyvaluepairsByGroup ( $groupName ) : array | ||
getMultivalent ( ) | ||
getObjectId ( ) : integer | ||
getProperties ( boolean $forEditMode = false ) : array | ||
getProperty ( $propName, null $groupId = null ) : array | null | ||
setClass ( |
||
setMultivalent ( $multivalent ) | ||
setObjectId ( $objectId ) | ||
setProperties ( $arr ) | ||
setProperty ( $propName, $value ) | ||
setPropertyWithId ( $keyId, $value, boolean $fromGrid = false ) : |
Sets the value of the property with the given id | |
setValueWithKeyId ( $keyId, $value ) |
Méthode | Description | |
---|---|---|
getTranslatedValue ( $keyId, $value ) : string |
public deleteEntryByKeyId ( $keyId ) | ||
$keyId |
public getClass ( ) : |
||
Résultat |
public getEntryByKeyId ( $keyId ) : array | null | ||
$keyId | ||
Résultat | array | null |
public getKeyvaluepairsByGroup ( $groupName ) : array | ||
$groupName | ||
Résultat | array |
public getProperties ( boolean $forEditMode = false ) : array | ||
$forEditMode | boolean | |
Résultat | array |
public setClass ( |
||
$class |
public setPropertyWithId ( $keyId, $value, boolean $fromGrid = false ) : |
||
$keyId | the id of the key | |
$value | the value | |
$fromGrid | boolean | if true then the data is coming from the grid, we have to check if the value needs to be translated |
Résultat | the resulting object |
public ClassDefinition,Pimcore\Model\Object $class | ||
Résultat |