PHP Class Pimcore\Model\Object\Data\ElementMetadata

Inheritance: extends Pimcore\Model\AbstractModel
Show file Open project: pimcore/pimcore

Public Properties

Property Type Description
$data array

Protected Properties

Property Type Description
$columns array
$element Pimcore\Model\Element\ElementInterface
$fieldname string

Public Methods

Method Description
__call ( $name, $arguments ) : mixed | void
__construct ( $fieldname, array $columns = [], null $element = null )
__toString ( ) : mixed
getColumns ( ) : array
getElement ( ) : Concrete
getFieldname ( ) : string
load ( Concrete $source, $destination, $fieldname, $ownertype, $ownername, $position, $type ) : mixed
save ( $object, string $ownertype = "object", $ownername, $position )
setColumns ( $columns )
setElement ( $element )
setFieldname ( $fieldname )

Method Details

__call() public method

public __call ( $name, $arguments ) : mixed | void
$name
$arguments
return mixed | void

__construct() public method

public __construct ( $fieldname, array $columns = [], null $element = null )
$fieldname
$columns array
$element null

__toString() public method

public __toString ( ) : mixed
return mixed

getColumns() public method

public getColumns ( ) : array
return array

getElement() public method

public getElement ( ) : Concrete
return Pimcore\Model\Object\Concrete

getFieldname() public method

public getFieldname ( ) : string
return string

load() public method

public load ( Concrete $source, $destination, $fieldname, $ownertype, $ownername, $position, $type ) : mixed
$source Pimcore\Model\Object\Concrete
$destination
$fieldname
$ownertype
$ownername
$position
return mixed

save() public method

public save ( $object, string $ownertype = "object", $ownername, $position )
$object
$ownertype string
$ownername
$position

setColumns() public method

public setColumns ( $columns )
$columns

setElement() public method

public setElement ( $element )
$element

setFieldname() public method

public setFieldname ( $fieldname )
$fieldname

Property Details

$columns protected property

protected array $columns
return array

$data public property

public array $data
return array

$element protected property

protected ElementInterface,Pimcore\Model\Element $element
return Pimcore\Model\Element\ElementInterface

$fieldname protected property

protected string $fieldname
return string