[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Table/ -> Category.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: 279 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

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


Class: Category  - X-Ref

Category table

__construct(DatabaseDriver $db)   X-Ref
Constructor

param: DatabaseDriver  $db  Database driver 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
Get the parent asset id for the record

param: Table    $table  A Table object for the asset parent.
param: integer  $id     The id for the asset
return: integer  The id of the asset's parent

check()   X-Ref
Override check function

return: boolean

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

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

store($updateNulls = true)   X-Ref
Overridden Table::store to set created/modified 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 the history table

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