Back to Joomla project (class list)

Class Usergroup - list of methods

Usergroup table class.

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/Usergroup.php
Project: Joomla

Method Summary

public
(\Joomla\Database\DatabaseDriver $db)

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

public bool
()

Method to check the current record to save
Returns
  • bool True on success
Since
  • 1.7.0
Show source code of this method: check Source Code

public bool
(mixed $parentId = 0, mixed $left = 0)

Method to recursively rebuild the nested set tree.
Parameters
  • int $parentId The root of the tree to rebuild.
  • int $left The left id to start with in building the tree.
Returns
  • bool True on success
Since
  • 1.7.0
Show source code of this method: rebuild Source Code

public bool
(mixed $updateNulls = false)

Inserts a new row if id is zero or updates an existing row in the database table
Parameters
  • bool $updateNulls If false, null object variables are not updated
Returns
  • bool True if successful, false otherwise and an internal error message is set
Since
  • 1.7.0
Show source code of this method: store Source Code

public mixed
(mixed $oid = null)

Delete this object and its dependencies
Parameters
  • int $oid The primary key of the user group to delete.
Returns
  • mixed Boolean or Exception.
Since
  • 1.7.0
-
  • \RuntimeException on database error.
  • \UnexpectedValueException on data error.
Show source code of this method: delete Source Code

Tags Summary

Since
1.7.0