contenido\classes\class.group.php
Description: Contenido Group Management Modue
Requirements:
- Author
- Timo A. Hummel
- Con_php_req
- 5.0
- Copyright
- four for business AG
- License
- http://www.contenido.org/license/LIZENZ.txt
- Link
- http://www.4fb.de
- Link
- http://www.contenido.org
- Package
- Contenido Backend classes
- Since
- file available since contenido release <= 4.6 {@internal created 2003-05-20 modified 2008-07-02, Frederic Schneider, add security fix $Id: class.group.php 602 2008-07-11 13:12:28Z dominik.ziegler $: }}
- Version
- 1.6.1
\Group
- Author
- Timo A. Hummel
- Copyright
- four for business 2003
- Version
- 1.0
Properties


string $table
- Type
- string
- Access
- private
Methods


Group(string $table = "") : void
Constructor Function
Name | Type | Description |
---|---|---|
$table | string | The table to use as information source |


deleteGroupProperty(string $type, string $name) : void
deleteGroupProperty($type, $name) Deletes a group property from the table
Name | Type | Description |
---|---|---|
$type | string | type Specifies the type (class, category etc) for the property to retrieve |
$name | string | name Specifies the name of the property to retrieve |


getField(string $field) : mixed
getField($field) Gets the value of a specific field
Name | Type | Description |
---|---|---|
$field | string | Specifies the field to retrieve |
Type | Description |
---|---|
mixed | Value of the field |


getGroupProperty(string $type, string $name) : string
getGroupProperty($type, $name) Stores the modified group object to the database
Name | Type | Description |
---|---|---|
$type | string | type Specifies the type (class, category etc) for the property to retrieve |
$name | string | name Specifies the name of the property to retrieve |
Type | Description |
---|---|
string | The value of the retrieved property |


loadGroupByGroupID( $groupID) : bool
loadGroupByGroupID($groupID) Loads a group from the database by its groupID
Name | Type | Description |
---|---|---|
$groupID |
Type | Description |
---|---|
bool | True if the load was successful |


loadGroupByGroupname(string $groupname) : bool
loadGroupByGroupname($groupname) Loads a group from the database by its groupname
Name | Type | Description |
---|---|---|
$groupname | string | Specifies the groupname |
Type | Description |
---|---|
bool | True if the load was successful |


setField(string $field, string $value) : void
setField($field, $value) Sets the value of a specific field
Name | Type | Description |
---|---|---|
$field | string | Specifies the field to set |
$value | string | Specifies the value to set |


setGroupProperty(string $type, string $name, string $value) : void
setGroupProperty($type, $name, $value) Stores a property to the database
Name | Type | Description |
---|---|---|
$type | string | type Specifies the type (class, category etc) for the property to retrieve |
$name | string | name Specifies the name of the property to retrieve |
$value | string | value Specifies the value to insert |
\Groups
- Author
- Timo A. Hummel
- Copyright
- four for business AG 2003
- Version
- 1.0
Properties
Methods


Groups(string $table = "") : void
Constructor Function
Name | Type | Description |
---|---|---|
$table | string | The table to use as information source |


deleteGroupByGroupname( $groupname) : bool
deleteGroupByGroupname ($groupname) Removes the specified group from the database
Name | Type | Description |
---|---|---|
$groupname |
Type | Description |
---|---|
bool | True if the delete was successful |


deleteGroupByID(string $groupid) : bool
deleteGroupByID ($groupid) Removes the specified group from the database
Name | Type | Description |
---|---|---|
$groupid | string | Specifies the group ID |
Type | Description |
---|---|
bool | True if the delete was successful |