[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

Defines 1 class

Module:: (7 methods):
  __construct()
  _getAssetName()
  _getAssetTitle()
  _getAssetParentId()
  check()
  bind()
  store()


Class: Module  - X-Ref

Module 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
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

check()   X-Ref
Overloaded check function.

return: boolean  True if the instance is sane and able to be stored in the database.

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 to ignore while binding.
return: mixed  Null if operation was satisfactory, otherwise returns an error

store($updateNulls = true)   X-Ref
Stores a module.

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



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