PHP Class Group, glpi

Interfaces with Users.
Show file Open project: glpi-project/glpi Class Usage Examples

Public Properties

Property Type Description
$dohistory
$rightname

Protected Properties

Property Type Description
$usenotepad

Public Methods

Method Description
cleanDBonPurge ( )
defineTabs ( $options = [] )
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
getAdditionalMenuOptions ( )
getDataItems ( array $types, $field, $tree, $user, $start, array &$res ) : integer get list of Computers in a group
getMenuShorcut ( )
getSearchOptions ( )
getSpecificMassiveActions ( $checkitem = NULL )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb )
post_getEmpty ( )
processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $item, array $ids )
showForm ( $ID, $options = [] ) : Nothing Print the group form
showItems ( $tech ) Show items for the group
showLDAPForm ( $ID )
showMassiveActionsSubForm ( MassiveAction $ma )
title ( ) : nothing Print a good title for group pages

Method Details

cleanDBonPurge() public method

public cleanDBonPurge ( )

defineTabs() public method

public defineTabs ( $options = [] )

displayTabContentForItem() static public method

static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
$item CommonGLPI

getAdditionalMenuOptions() static public method

See also: CommonGLPI::getAdditionalMenuOptions()
static public getAdditionalMenuOptions ( )

getDataItems() public method

get list of Computers in a group
public getDataItems ( array $types, $field, $tree, $user, $start, array &$res ) : integer
$types array Array of types
$field String field name
$tree Boolean include child groups
$user Boolean include members (users)
$start Integer (first row to retrieve)
$res array Array result filled on ouput
return integer total of items

getMenuShorcut() static public method

See also: CommonGLPI::getMenuShorcut()
static public getMenuShorcut ( )

getSearchOptions() public method

public getSearchOptions ( )

getSpecificMassiveActions() public method

See also: CommonDBTM::getSpecificMassiveActions()
public getSpecificMassiveActions ( $checkitem = NULL )

getTabNameForItem() public method

public getTabNameForItem ( CommonGLPI $item, $withtemplate )
$item CommonGLPI

getTypeName() static public method

static public getTypeName ( $nb )

post_getEmpty() public method

public post_getEmpty ( )

processMassiveActionsForOneItemtype() static public method

See also: CommonDBTM::processMassiveActionsForOneItemtype()
static public processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $item, array $ids )
$ma MassiveAction
$item CommonDBTM
$ids array

showForm() public method

Print the group form
public showForm ( $ID, $options = [] ) : Nothing
$ID integer ID of the item
$options array - target filename : where to go when done. - withtemplate boolean : template or basic item
return Nothing (display)

showItems() public method

Show items for the group
public showItems ( $tech )
$tech boolean false search groups_id, true, search groups_id_tech

showLDAPForm() public method

public showLDAPForm ( $ID )
$ID

showMassiveActionsSubForm() static public method

See also: CommonDBTM::showMassiveActionsSubForm()
static public showMassiveActionsSubForm ( MassiveAction $ma )
$ma MassiveAction

title() public method

Print a good title for group pages
public title ( ) : nothing
return nothing (display)

Property Details

$dohistory public property

public $dohistory

$rightname static public property

static public $rightname

$usenotepad protected property

protected $usenotepad