[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Joomla! Content Management System

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

Defines 1 class

Language:: (6 methods):
  __construct()
  check()
  store()
  _getAssetName()
  _getAssetTitle()
  _getAssetParentId()


Class: Language  - X-Ref

Languages table.

__construct(DatabaseDriver $db)   X-Ref
Constructor

param: DatabaseDriver  $db  Database driver object.

check()   X-Ref
Overloaded check method to ensure data integrity

return: boolean  True on success

store($updateNulls = false)   X-Ref
Overrides Table::store to check unique fields.

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

_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 under which to register this one.
By default, all assets are registered to the ROOT node with ID,
which will default to 1 if none exists.
The extended class can define a table and id to lookup.  If the
asset does not exist it will be created.

param: Table    $table  A Table object for the asset parent.
param: integer  $id     Id to look up
return: integer



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