Instantiate JUcmContent.
JUcmContent
__construct
([
JTable $table =
null], [
sring $alias =
null], [
JUcmType $type =
null])
-
JTable
$table: The table object
-
sring
$alias: The type alias
-
JUcmType
$type: The type object
Redefinition of:
- JUcmBase::__construct()
- Instantiate the UcmBase.
Delete content from the Core Content table
boolean
delete
(
mixed $pk, [
JUcmType $type =
null])
-
mixed
$pk: The string/array of id's to delete
-
JUcmType
$type: The content type object
Get the value of the primary key from #__ucm_base
integer
getPrimaryKey
(string $typeId, integer $contentItemId)
-
string
$typeId: The ID for the type
-
integer
$contentItemId: Value of the primary key in the legacy or secondary table
Map the original content to the Core Content fields
object
mapData
(
array $original, [
JUcmType $type =
null])
-
array
$original: The original data array
-
JUcmType
$type: Type object for this data
Method to save the data
boolean
save
([
array $original =
null], [
JUcmType $type =
null])
-
array
$original: The original data to be saved
-
JUcmType
$type: The UCM Type object
Store data to the appropriate table
Boolean
store
(array $data, [JTable $table = null], [boolean $primaryKey = null])
-
array
$data: Data to be stored
-
JTable
$table: JTable Object
-
boolean
$primaryKey: Flag that is true for data that are using #__ucm_content as their primary table
Redefinition of:
- JUcmBase::store()
- Store data to the appropriate table
Inherited Methods
Inherited From JUcmBase
JUcmBase::__construct()
JUcmBase::getType()
JUcmBase::mapBase()
JUcmBase::store()