[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
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: | 316 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
MenuType:: (7 methods):
__construct()
check()
store()
delete()
_getAssetName()
_getAssetTitle()
_getAssetParentId()
__construct(DatabaseDriver $db) X-Ref |
Constructor param: DatabaseDriver $db Database driver object. |
check() X-Ref |
Overloaded check function return: boolean True on success, false on failure |
store($updateNulls = false) X-Ref |
Method to store a row in the database from the Table instance properties. If a primary key value is set the row with that primary key value will be updated with the instance property values. If no primary key value is set a new row will be inserted into the database with the properties from the Table instance. param: boolean $updateNulls True to update fields even if they are null. return: boolean True on success. |
delete($pk = null) X-Ref |
Method to delete a row from the database table by primary key value. param: mixed $pk An optional primary key value to delete. If not set the instance property value is used. 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 |