[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Table/ -> CoreContent.php (summary)

Joomla! Content Management System

Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 328 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CoreContent:: (6 methods):
  __construct()
  check()
  delete()
  deleteByContentId()
  store()
  storeUcmBase()


Class: CoreContent  - X-Ref

Core content table

__construct(DatabaseDriver $db)   X-Ref
Constructor

param: DatabaseDriver  $db  A database connector object

check()   X-Ref
Overloaded check function

return: boolean  True on success, false on failure

delete($pk = null)   X-Ref
Override JTable delete method to include deleting corresponding row from #__ucm_base.

param: integer  $pk  primary key value to delete. Must be set or throws an exception.
return: boolean  True on success.

deleteByContentId($contentItemId = null, $typeAlias = null)   X-Ref
Method to delete a row from the #__ucm_content table by content_item_id.

param: integer  $contentItemId  value of the core_content_item_id to delete. Corresponds to the primary key of the content table.
param: string   $typeAlias      Alias for the content type
return: boolean  True on success.

store($updateNulls = true)   X-Ref
Overrides Table::store to set modified data and user id.

param: boolean  $updateNulls  True to update fields even if they are null.
return: boolean  True on success.

storeUcmBase($updateNulls = true, $isNew = false)   X-Ref
Insert or update row in ucm_base table

param: boolean  $updateNulls  True to update fields even if they are null.
param: boolean  $isNew        if true, need to insert. Otherwise update.
return: boolean  True on success.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer