PHP Class Notepad, glpi

Inheritance: extends yupe\models\YModel
Exibir arquivo Open project: glpi-project/glpi Class Usage Examples

Public Properties

Property Type Description
$auto_message_on_action
$dohistory
$items_id
$itemtype From CommonDBChild
$logs_for_parent Link in message can't work'

Public Methods

Method Description
canCreateItem ( )
canUpdateItem ( )
countForItem ( CommonDBTM $item ) : number
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
getAllForItem ( CommonDBTM $item )
getLogTypeID ( )
getSearchOptionsToAdd ( )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb )
prepareInputForAdd ( $input )
prepareInputForUpdate ( $input )
showForItem ( CommonDBTM $item, $withtemplate = '' ) Show notepads for an item

Method Details

canCreateItem() public method

public canCreateItem ( )

canUpdateItem() public method

public canUpdateItem ( )

countForItem() static public method

static public countForItem ( CommonDBTM $item ) : number
$item CommonDBTM CommonDBTM object
return number

displayTabContentForItem() static public method

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

getAllForItem() static public method

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

getLogTypeID() public method

public getLogTypeID ( )

getSearchOptionsToAdd() static public method

static public getSearchOptionsToAdd ( )

getTabNameForItem() public method

See also: CommonGLPI::getTabNameForItem()
public getTabNameForItem ( CommonGLPI $item, $withtemplate )
$item CommonGLPI

getTypeName() static public method

static public getTypeName ( $nb )

prepareInputForAdd() public method

public prepareInputForAdd ( $input )

prepareInputForUpdate() public method

public prepareInputForUpdate ( $input )

showForItem() static public method

Show notepads for an item
static public showForItem ( CommonDBTM $item, $withtemplate = '' )
$item CommonDBTM CommonDBTM object
$withtemplate integer template or basic item (default '')

Property Details

$auto_message_on_action public_oe property

public $auto_message_on_action

$dohistory public_oe property

public $dohistory

$items_id public_oe static_oe property

public static $items_id

$itemtype public_oe static_oe property

From CommonDBChild
public static $itemtype

$logs_for_parent public_oe static_oe property

Link in message can't work'
public static $logs_for_parent