Back to Joomla project (class list)

Class Category - list of methods

Category table

Extends

Extends

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

Method Summary

public
(\Joomla\Database\DatabaseDriver $db)

Constructor
Parameters
  • \Joomla\Database\DatabaseDriver $db Database driver object.
Since
  • 1.5
Show source code of this method: __construct Source Code

protected string
()

Method to compute the default name of the asset.
Returns
  • string
Since
  • 1.6
Show source code of this method: _getAssetName Source Code

protected string
()

Method to return the title to use for the asset table.
Returns
  • string
Since
  • 1.6
Show source code of this method: _getAssetTitle Source Code

protected int
(\Joomla\CMS\Table\Table $table = null, mixed $id = null)

Get the parent asset id for the record
Parameters
  • \Joomla\CMS\Table\Table $table A Table object for the asset parent.
  • int $id The id for the asset
Returns
  • int The id of the asset's parent
Since
  • 1.6
Show source code of this method: _getAssetParentId Source Code

public bool
()

Override check function
Returns
  • bool
Since
  • 1.5
-
  • \Joomla\CMS\Table\Table::check()
Show source code of this method: check Source Code

public mixed
(mixed $array, mixed $ignore = '')

Overloaded bind function.
Parameters
  • array $array named array
  • string $ignore An optional array or space separated list of properties to ignore while binding.
Returns
  • mixed Null if operation was satisfactory, otherwise returns an error
Since
  • 1.6
-
  • \Joomla\CMS\Table\Table::bind()
Show source code of this method: bind Source Code

public bool
(mixed $updateNulls = true)

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

public string
()

Get the type alias for the history table
Returns
  • string The alias as described above
Since
  • 4.0.0
Show source code of this method: getTypeAlias Source Code

Properties Summary

protected bool
$_supportNullValue
Indicates that columns fully support the NULL value in the database
Since
  • 4.0.0

Tags Summary

Since
1.5