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