PHP Class Item_Project, glpi

Relation between Projects and Items
Inheritance: extends CommonDBRelation
Show file Open project: glpi-project/glpi Class Usage Examples

Public Properties

Property Type Description
$checkItem_2_Rights
$items_id_1
$items_id_2
$itemtype_1 From CommonDBRelation
$itemtype_2

Public Methods

Method Description
countForItem ( CommonDBTM $item )
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
getForbiddenStandardMassiveAction ( )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
prepareInputForAdd ( $input )
showForProject ( Project $project ) : Nothing Print the HTML array for Items linked to a project

Method Details

countForItem() static public method

static public countForItem ( CommonDBTM $item )
$item CommonDBTM CommonDBTM object

displayTabContentForItem() static public method

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

getForbiddenStandardMassiveAction() public method

getTabNameForItem() public method

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

prepareInputForAdd() public method

See also: CommonDBTM::prepareInputForAdd()
public prepareInputForAdd ( $input )

showForProject() static public method

Print the HTML array for Items linked to a project
static public showForProject ( Project $project ) : Nothing
$project Project Project object
return Nothing (display)

Property Details

$checkItem_2_Rights public static property

public static $checkItem_2_Rights

$items_id_1 public static property

public static $items_id_1

$items_id_2 public static property

public static $items_id_2

$itemtype_1 public static property

From CommonDBRelation
public static $itemtype_1

$itemtype_2 public static property

public static $itemtype_2