| extends | XoopsObjectHandler | 
|---|
XOOPS group handler class. This class is responsible for providing data access mechanisms to the data source of XOOPS group class objects.
| Methods | ||||||
|---|---|---|---|---|---|---|
| 
					
	public
					
					
				 | __construct(XoopsDatabase $db)
		called from child classes only
	 called from child classes only Parameters
 Overrides | # | ||||
| 
					
	public
					
					
				 | create(bool $isNew = true): XoopsGroup
		create a new {@link XoopsGroup} object
	 create a new {@link XoopsGroup} object Parameters
 ReturnsXoopsGroup reference to the new object Overrides | # | ||||
| 
					
	public
					
					
				 | get(int $id): XoopsGroup|false
		retrieve a specific group
	 retrieve a specific group Parameters
 ReturnsXoopsGroup reference to the group object, false if failed Overrides | # | ||||
| 
					
	public
					
					
				 | insert(XoopsObject|XoopsGroup $group): bool
		insert a group into the database
	 insert a group into the database Parameters
 Returnstrue on success, otherwise false Overrides | # | ||||
| 
					
	public
					
					
				 | delete(XoopsObject|XoopsGroup $group): bool
		remove a group from the database
	 remove a group from the database Parameters
 Returnstrue on success, otherwise false Overrides | # | ||||
| 
					
	public
					
					
				 | getObjects(CriteriaElement|CriteriaCompo $criteria = null, bool $id_as_key = false): mixed
		retrieve groups from the database
	 retrieve groups from the database Parameters
 ReturnsArray of groups | # | ||||
| Methods inherited from XoopsObjectHandler | 
|---|
| XoopsObjectHandler(),  | 
| Properties | |||
|---|---|---|---|
| 
	public
					
					
				 | string | $table
		table name
	 table name | # | 
| Properties inherited from XoopsObjectHandler | 
|---|
| $db |