Back to Joomla project (class list)

Class CoreContent - list of methods

Core content table

Extends

Package: Joomla\CMS\Table
Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Table/CoreContent.php
Project: Joomla

Method Summary

public
(\Joomla\Database\DatabaseDriver $db)

Constructor
Parameters
  • \Joomla\Database\DatabaseDriver $db A database connector object
Since
  • 3.1
Show source code of this method: __construct Source Code

public bool
()

Overloaded check function
Returns
  • bool True on success, false on failure
Since
  • 3.1
-
  • \Joomla\CMS\Table\Table::check()
Show source code of this method: check Source Code

public bool
(mixed $pk = null)

Override JTable delete method to include deleting corresponding row from #__ucm_base.
Parameters
  • int $pk primary key value to delete. Must be set or throws an exception.
Returns
  • bool True on success.
Since
  • 3.1
-
  • \UnexpectedValueException
Show source code of this method: delete Source Code

public bool
(mixed $contentItemId = null, mixed $typeAlias = null)

Method to delete a row from the #__ucm_content table by content_item_id.
Parameters
  • int $contentItemId value of the core_content_item_id to delete. Corresponds to the primary key of the content table.
  • string $typeAlias Alias for the content type
Returns
  • bool True on success.
Since
  • 3.1
-
  • \UnexpectedValueException
Show source code of this method: deleteByContentId Source Code

public bool
(mixed $updateNulls = true)

Overrides Table::store to set modified data and user id.
Parameters
  • bool $updateNulls True to update fields even if they are null.
Returns
  • bool True on success.
Since
  • 3.1
Show source code of this method: store Source Code

protected bool
(mixed $updateNulls = true, mixed $isNew = false)

Insert or update row in ucm_base table
Parameters
  • bool $updateNulls True to update fields even if they are null.
  • bool $isNew if true, need to insert. Otherwise update.
Returns
  • bool True on success.
Since
  • 3.1
Show source code of this method: storeUcmBase Source Code

Properties Summary

protected bool
$_supportNullValue
Indicates that columns fully support the NULL value in the database
Since
  • 4.0.0
protected array
$_jsonEncode
Encode necessary fields to JSON in the bind method
Since
  • 4.0.0

Tags Summary

Since
3.1