UCMBase
Implements UCMBase class for implementing UCM
since |
3.1 |
---|---|
package |
Joomla CMS |
Methods
__construct
Instantiate the UCMBase.
__construct( alias = null, \Joomla\CMS\UCM\UCMType type = null) :
getType
Get the UCM Content type.
getType() : \Joomla\CMS\UCM\UCMType
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 |
---|
Arguments
- original
array<string|int, mixed>
Data array- type
UCMType
UCM 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) :
since |
3.1 |
---|---|
throws |
|
Arguments
- data
array<string|int, mixed>
Data to be stored- table
TableInterface
Table Object- primaryKey
string
The primary key name
Response
bool
True on success
Properties
alias
The alias for the content table
since |
3.1 |
---|
Type(s)
string