class UCMBase implements UCM

Base class for implementing UCM

Methods

__construct( string $alias = null, UCMType $type = null)

Instantiate the UCMBase.

getType()

Get the UCM Content type.

array
mapBase( array $original, UCMType $type = null)

Method to map the base ucm fields

Details

__construct( string $alias = null, UCMType $type = null)

Instantiate the UCMBase.

Parameters

string $alias The alias string
UCMType $type The type object

UCMType getType()

Get the UCM Content type.

Return Value

UCMType The UCM content type

array mapBase( array $original, UCMType $type = null)

Method to map the base ucm fields

Parameters

array $original Data array
UCMType $type UCM Content Type

Return Value

array Data array of UCM mappings