Builder_ElementSet

class Builder_ElementSet

Package: Record\Builder

Build an element set.

property _settableProperties
property _recordClass
property _elementInfo
setElements(array $elements)

Set the elements to add to the element set.

Parameters:
  • $elements (array) –
setRecordMetadata(string|array $metadata)

Overrides setRecordMetadata() to allow giving the name of the element as a string.

Parameters:
  • $metadata (string|array) –
_beforeBuild()

Add elements to be associated with the element set.

Project Versions

Previous topic

Builder_Collection

Next topic

Builder_Item

This Page