PHP Class TicketFollowup, glpi

Inheritance: extends CommonDBTM
ファイルを表示 Open project: glpi-project/glpi Class Usage Examples

Public Properties

Property Type Description
$auto_message_on_action From CommonDBTM
$rightname

Public Methods

Method Description
canCreate ( )
canCreateItem ( ) : boolean Is the current user have right to create the current followup ?
canPurgeItem ( ) : boolean Is the current user have right to delete the current followup ?
canUpdateItem ( ) : boolean Is the current user have right to update the current followup ?
canView ( )
canViewItem ( ) : boolean Is the current user have right to show the current followup ?
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
getRawName ( )
getRights ( $interface = 'central' )
getSearchOptions ( )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb ) Name of the type
post_addItem ( )
post_deleteFromDB ( )
post_getEmpty ( )
post_updateItem ( $history = 1 )
prepareInputForAdd ( $input )
prepareInputForUpdate ( $input )
processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $item, array $ids )
showApprobationForm ( $ticket ) form for soluce's approbation
showForm ( $ID, $options = [] ) form for Followup
showFormButtons ( $options = [] )
showFormMassiveAction ( ) Form for Followup on Massive action
showInTicketSumnary ( Ticket $ticket, $rand, $showprivate )
showMassiveActionsSubForm ( MassiveAction $ma )
showShortForTicket ( $ID )
showSummary ( $ticket ) Show the current ticketfollowup summary

Method Details

canCreate() static public method

static public canCreate ( )

canCreateItem() public method

Is the current user have right to create the current followup ?
public canCreateItem ( ) : boolean
return boolean

canPurgeItem() public method

Is the current user have right to delete the current followup ?
public canPurgeItem ( ) : boolean
return boolean

canUpdateItem() public method

Is the current user have right to update the current followup ?
public canUpdateItem ( ) : boolean
return boolean

canView() static public method

static public canView ( )

canViewItem() public method

Is the current user have right to show the current followup ?
public canViewItem ( ) : boolean
return boolean

displayTabContentForItem() static public method

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

getRawName() public method

See also: CommonDBTM::getRawName()
public getRawName ( )

getRights() public method

See also: commonDBTM::getRights()
public getRights ( $interface = 'central' )

getSearchOptions() public method

public getSearchOptions ( )

getTabNameForItem() public method

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

getTypeName() static public method

Name of the type
static public getTypeName ( $nb )
$nb : number of item in the type

post_addItem() public method

public post_addItem ( )

post_deleteFromDB() public method

public post_deleteFromDB ( )

post_getEmpty() public method

public post_getEmpty ( )

post_updateItem() public method

public post_updateItem ( $history = 1 )

prepareInputForAdd() public method

public prepareInputForAdd ( $input )

prepareInputForUpdate() public method

public prepareInputForUpdate ( $input )

processMassiveActionsForOneItemtype() static public method

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

showApprobationForm() public method

form for soluce's approbation
public showApprobationForm ( $ticket )
$ticket Object : the ticket

showForm() public method

form for Followup
public showForm ( $ID, $options = [] )
$ID integer : Id of the followup
$options array of possible options: - ticket Object : the ticket

showFormButtons() public method

See also: CommonDBTM::showFormButtons()
public showFormButtons ( $options = [] )

showFormMassiveAction() static public method

Form for Followup on Massive action
static public showFormMassiveAction ( )

showInTicketSumnary() public method

public showInTicketSumnary ( Ticket $ticket, $rand, $showprivate )
$ticket Ticket Tichet object
$rand
$showprivate

showMassiveActionsSubForm() static public method

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

showShortForTicket() static public method

static public showShortForTicket ( $ID )
$ID integer ID of the ticket

showSummary() public method

Show the current ticketfollowup summary
public showSummary ( $ticket )
$ticket Ticket object

Property Details

$auto_message_on_action public_oe property

From CommonDBTM
public $auto_message_on_action

$rightname static_oe public_oe property

static public $rightname