PHP Class Pimcore\Model\Metadata\Predefined\Listing

Inheritance: extends Pimcore\Model\Listing\JsonListing
Show file Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$definitions array Contains the results of the list. They are all an instance of Metadata\Predefined

Public Methods

Method Description
getByKeyAndLanguage ( $key, $language, $targetSubtype = null ) : Predefined
getByTargetType ( $type, $subTypes ) : Listing
getDefinitions ( ) : array
setDefinitions ( $definitions )

Method Details

getByKeyAndLanguage() public static method

public static getByKeyAndLanguage ( $key, $language, $targetSubtype = null ) : Predefined
$key
$language
return Pimcore\Model\Metadata\Predefined

getByTargetType() public static method

public static getByTargetType ( $type, $subTypes ) : Listing
$type
$subTypes
return Listing

getDefinitions() public method

public getDefinitions ( ) : array
return array

setDefinitions() public method

public setDefinitions ( $definitions )
$definitions

Property Details

$definitions public property

Contains the results of the list. They are all an instance of Metadata\Predefined
public array $definitions
return array