[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Joomla! Content Management System

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

Defines 1 class

Content:: (8 methods):
  __construct()
  _getAssetName()
  _getAssetTitle()
  _getAssetParentId()
  bind()
  check()
  store()
  getTypeAlias()


Class: Content  - X-Ref

Content table

__construct(DatabaseDriver $db)   X-Ref
Constructor

param: DatabaseDriver  $db  A database connector object

_getAssetName()   X-Ref
Method to compute the default name of the asset.
The default name is in the form table_name.id
where id is the value of the primary key of the table.

return: string

_getAssetTitle()   X-Ref
Method to return the title to use for the asset table.

return: string

_getAssetParentId(Table $table = null, $id = null)   X-Ref
Method to get the parent asset id for the record

param: Table    $table  A Table object (optional) for the asset parent
param: integer  $id     The id (optional) of the content.
return: integer

bind($array, $ignore = '')   X-Ref
Overloaded bind function

param: array  $array   Named array
param: mixed  $ignore  An optional array or space separated list of properties
return: mixed  Null if operation was satisfactory, otherwise returns an error string

check()   X-Ref
Overloaded check function

return: boolean  True on success, false on failure

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.

getTypeAlias()   X-Ref
Get the type alias for UCM features

return: string  The alias as described above



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