Back to Joomla project (class list)

Class MenuType - list of methods

Menu Types table

Extends

Package: Joomla\CMS\Table
Copyright: (C) 2009 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Table/MenuType.php
Project: Joomla

Method Summary

public
(\Joomla\Database\DatabaseDriver $db)

Constructor
Parameters
  • \Joomla\Database\DatabaseDriver $db Database driver object.
Since
  • 1.6
Show source code of this method: __construct Source Code

public bool
()

Overloaded check function
Returns
  • bool True on success, false on failure
Since
  • 1.6
-
  • \Joomla\CMS\Table\Table::check()
Show source code of this method: check Source Code

public bool
(mixed $updateNulls = false)

Method to store a row in the database from the Table instance properties.
Parameters
  • bool $updateNulls True to update fields even if they are null.
Returns
  • bool True on success.
Since
  • 1.6
Show source code of this method: store Source Code

public bool
(mixed $pk = null)

Method to delete a row from the database table by primary key value.
Parameters
  • mixed $pk An optional primary key value to delete. If not set the instance property value is used.
Returns
  • bool True on success.
Since
  • 1.6
Show source code of this method: delete Source Code

protected string
()

Method to compute the default name of the asset.
Returns
  • string
Since
  • 3.6
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.6
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 under which to register this one.
Parameters
  • \Joomla\CMS\Table\Table $table A Table object for the asset parent.
  • int $id Id to look up
Returns
  • int
Since
  • 3.6
Show source code of this method: _getAssetParentId Source Code

Tags Summary

Since
1.6