[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Table/ -> Usergroup.php (summary)

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: 322 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Usergroup:: (5 methods):
  __construct()
  check()
  rebuild()
  store()
  delete()


Class: Usergroup  - X-Ref

Usergroup table class.

__construct(DatabaseDriver $db)   X-Ref
Constructor

param: DatabaseDriver  $db  Database driver object.

check()   X-Ref
Method to check the current record to save

return: boolean  True on success

rebuild($parentId = 0, $left = 0)   X-Ref
Method to recursively rebuild the nested set tree.

param: integer  $parentId  The root of the tree to rebuild.
param: integer  $left      The left id to start with in building the tree.
return: boolean  True on success

store($updateNulls = false)   X-Ref
Inserts a new row if id is zero or updates an existing row in the database table

param: boolean  $updateNulls  If false, null object variables are not updated
return: boolean  True if successful, false otherwise and an internal error message is set

delete($oid = null)   X-Ref
Delete this object and its dependencies

param: integer  $oid  The primary key of the user group to delete.
return: mixed  Boolean or Exception.



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