UCMBase
Implements UCMBase class for implementing UCM
| since |
3.1 |
|---|---|
| package |
Joomla CMS |
Methods
__construct
Instantiate the UCMBase.
__construct(string alias = null, \Joomla\CMS\UCM\UCMType type = null) : mixed
| since |
3.1 |
|---|
Arguments
- alias
stringThe alias string- type
\Joomla\CMS\UCM\UCMTypeThe type object
Response
mixed
getType
Get the UCM Content type.
getType() : \Joomla\CMS\UCM\UCMType
| since |
3.1 |
|---|
Response
\Joomla\CMS\UCM\UCMTypeThe UCM content type
mapBase
Method to map the base ucm fields
mapBase(array original, \Joomla\CMS\UCM\UCMType type = null) : array
| since |
3.1 |
|---|
Arguments
- original
arrayData array- type
\Joomla\CMS\UCM\UCMTypeUCM Content Type
Response
arrayData array of UCM mappings
store
Store data to the appropriate table
store(array data, \Joomla\CMS\Table\TableInterface table = null, string primaryKey = null) : bool
| since |
3.1 |
|---|---|
| throws |
|
Arguments
- data
arrayData to be stored- table
\Joomla\CMS\Table\TableInterfaceTable Object- primaryKey
stringThe primary key name
Response
boolTrue on success
Properties
type
The UCM type object
| since |
3.1 |
|---|
Type(s)
\Joomla\CMS\UCM\UCMType
alias
The alias for the content table
| since |
3.1 |
|---|
Type(s)
string