PHP 클래스 CommonITILTask, glpi

상속: extends CommonDBTM
파일 보기 프로젝트 열기: glpi-project/glpi 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$auto_message_on_action From CommonDBTM

공개 메소드들

메소드 설명
canEditAll ( )
canReadITILItem ( ) : boolean can read the parent ITIL Object ?
canUpdateITILItem ( ) : boolean can update the parent ITIL Object ?
canViewPrivates ( )
cleanDBonPurge ( )
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
genericDisplayPlanningItem ( $itemtype, array $val, $who, $type = "", $complete ) : Nothing Display a Planning Item
genericGetAlreadyPlannedInformation ( $itemtype, array $val ) : Already Display a Planning Item
genericPopulatePlanning ( $itemtype, $options = [] ) : array Populate the planning with planned tasks
getItem ( ) : object Get the item associated with the current object.
getItilObjectItemType ( )
getRawName ( )
getSearchOptions ( )
getSearchOptionsToAdd ( )
getSpecificValueToDisplay ( $field, $values, array $options = [] )
getSpecificValueToSelect ( $field, $name = '', $values = '', array $options = [] ) : string
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb ) Name of the type
post_addItem ( )
post_deleteFromDB ( )
post_getEmpty ( )
post_updateItem ( $history = 1 )
prepareInputForAdd ( $input )
prepareInputForUpdate ( $input )
showForm ( $ID, $options = [] ) form for Task
showFormMassiveAction ( ) Form for Ticket or Problem Task on Massive action
showInObjectSumnary ( CommonITILObject $item, $rand, $showprivate = false )
showSummary ( CommonITILObject $item ) Show the current task sumnary
test_valid_date ( $input ) : boolean Current dates are valid ? begin before end

메소드 상세

canEditAll() 공개 메소드

public canEditAll ( )

canReadITILItem() 공개 메소드

can read the parent ITIL Object ?
public canReadITILItem ( ) : boolean
리턴 boolean

canUpdateITILItem() 공개 메소드

can update the parent ITIL Object ?
public canUpdateITILItem ( ) : boolean
리턴 boolean

canViewPrivates() 공개 메소드

public canViewPrivates ( )

cleanDBonPurge() 공개 메소드

또한 보기: CommonDBTM::cleanDBonPurge()
public cleanDBonPurge ( )

displayTabContentForItem() 정적인 공개 메소드

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

genericDisplayPlanningItem() 정적인 공개 메소드

Display a Planning Item
static public genericDisplayPlanningItem ( $itemtype, array $val, $who, $type = "", $complete ) : Nothing
$itemtype itemtype
$val array Array of the item to display
$who ID of the user (0 if all)
$type position of the item in the time block (in, through, begin or end) (default '')
$complete complete display (more details) (default 0)
리턴 Nothing (display function)

genericGetAlreadyPlannedInformation() 정적인 공개 메소드

Display a Planning Item
static public genericGetAlreadyPlannedInformation ( $itemtype, array $val ) : Already
$itemtype itemtype
$val array Array of the item to display
리턴 Already planned information

genericPopulatePlanning() 정적인 공개 메소드

Populate the planning with planned tasks
static public genericPopulatePlanning ( $itemtype, $options = [] ) : array
$itemtype itemtype
$options array of options must contains : - who ID of the user (0 = undefined) - who_group ID of the group of users (0 = undefined) - begin Date - end Date - color - event_type_color - display_done_events (boolean)
리턴 array of planning item

getItem() 공개 메소드

Get the item associated with the current object.
public getItem ( ) : object
리턴 object of the concerned item or false on error

getItilObjectItemType() 공개 메소드

getRawName() 공개 메소드

또한 보기: CommonDBTM::getRawName()
public getRawName ( )

getSearchOptions() 공개 메소드

public getSearchOptions ( )

getSearchOptionsToAdd() 정적인 공개 메소드

static public getSearchOptionsToAdd ( )

getSpecificValueToDisplay() 정적인 공개 메소드

static public getSpecificValueToDisplay ( $field, $values, array $options = [] )
$field
$values
$options array array

getSpecificValueToSelect() 정적인 공개 메소드

static public getSpecificValueToSelect ( $field, $name = '', $values = '', array $options = [] ) : string
$field
$name (default '')
$values (default '')
$options array array
리턴 string

getTabNameForItem() 공개 메소드

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

getTypeName() 정적인 공개 메소드

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

post_addItem() 공개 메소드

public post_addItem ( )

post_deleteFromDB() 공개 메소드

public post_deleteFromDB ( )

post_getEmpty() 공개 메소드

public post_getEmpty ( )

post_updateItem() 공개 메소드

public post_updateItem ( $history = 1 )

prepareInputForAdd() 공개 메소드

public prepareInputForAdd ( $input )

prepareInputForUpdate() 공개 메소드

public prepareInputForUpdate ( $input )

showForm() 공개 메소드

form for Task
public showForm ( $ID, $options = [] )
$ID Integer : Id of the task
$options array - parent Object : the object

showFormMassiveAction() 공개 메소드

Form for Ticket or Problem Task on Massive action

showInObjectSumnary() 공개 메소드

public showInObjectSumnary ( CommonITILObject $item, $rand, $showprivate = false )
$item CommonITILObject CommonITILObject
$rand
$showprivate (false by default)

showSummary() 공개 메소드

Show the current task sumnary
public showSummary ( CommonITILObject $item )
$item CommonITILObject CommonITILObject

test_valid_date() 공개 메소드

Current dates are valid ? begin before end
public test_valid_date ( $input ) : boolean
$input
리턴 boolean

프로퍼티 상세

$auto_message_on_action 공개적으로 프로퍼티

From CommonDBTM
public $auto_message_on_action