UCMBase

Implements UCM

Base class for implementing UCM

deprecated
since

3.1

deprecated

5.4.0 will be removed in 7.0 without replacement

package

Joomla CMS

Methods

__construct

Instantiate the UCMBase.

__construct( alias = null, \Joomla\CMS\UCM\UCMType type = null) : 
deprecated
since

3.1

deprecated

5.4.0 will be removed in 7.0 without replacement

Arguments

alias

stringThe alias string

type

UCMType|nullThe type object

Response

mixed

getType

Get the UCM Content type.

getType() : \Joomla\CMS\UCM\UCMType
deprecated
since

3.1

deprecated

5.4.0 will be removed in 7.0 without replacement

Response

UCMTypeThe UCM content type

mapBase

Method to map the base ucm fields

mapBase(mixed||string|int original, \Joomla\CMS\UCM\UCMType type = null) : mixed||string|int
deprecated
since

3.1

deprecated

5.4.0 will be removed in 7.0 without replacement

Arguments

original

array<string|int, mixed>Data array

type

UCMType|nullUCM Content Type

Response

array<string|int, mixed>Data array of UCM mappings

store

Store data to the appropriate table

store(mixed||string|int data, \Joomla\CMS\Table\TableInterface table = null,  primaryKey = null) : 
deprecated
throws

Exception

since

3.1

deprecated

5.4.0 will be removed in 7.0 without replacement

Arguments

data

array<string|int, mixed>Data to be stored

table

TableInterface|nullTable Object

primaryKey

stringThe primary key name

Response

boolTrue on success

Properties

type

The UCM type object

deprecated
since

3.1

deprecated

5.4.0 will be removed in 7.0 without replacement

Type(s)

UCMType

alias

The alias for the content table

deprecated
since

3.1

deprecated

5.4.0 will be removed in 7.0 without replacement

Type(s)

string