Back to Joomla project (class list)

Class Module - list of methods

Module table

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/Module.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
  • 3.2
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
  • 3.2
Show source code of this method: _getAssetTitle Source Code

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

Method to get the parent asset id for the record
Parameters
  • \Joomla\CMS\Table\Table $table A Table object (optional) for the asset parent
  • int $id The id (optional) of the content.
Returns
  • int
Since
  • 3.2
Show source code of this method: _getAssetParentId Source Code

public bool
()

Overloaded check function.
Returns
  • bool True if the instance is sane and able to be stored in the database.
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.
  • mixed $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.5
-
  • \Joomla\CMS\Table\Table::bind()
Show source code of this method: bind Source Code

public bool
(mixed $updateNulls = true)

Stores a module.
Parameters
  • bool $updateNulls True to update fields even if they are null.
Returns
  • bool True on success, false on failure.
Since
  • 3.7.0
Show source code of this method: store 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