UCMBase
Implements UCMBase class for implementing UCM
| 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) :
| 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
| 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
| 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) :
| throws |
|
|---|---|
| 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
alias
The alias for the content table
| since |
3.1 |
|---|---|
| deprecated |
5.4.0 will be removed in 7.0 without replacement |
Type(s)
string