PHP 클래스 Reminder, glpi

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

공개 프로퍼티들

프로퍼티 타입 설명
$dohistory From CommonDBTM
$rightname

보호된 프로퍼티들

프로퍼티 타입 설명
$entities
$groups
$profiles
$users For visibility checks

공개 메소드들

메소드 설명
addVisibilityJoins ( $forceall = false ) : string Return visibility joins to add to SQL
addVisibilityRestrict ( ) : string Return visibility SQL restriction to add
canCreate ( )
canCreateItem ( )
canPurge ( )
canPurgeItem ( )
canUpdate ( )
canUpdateItem ( )
canView ( )
canViewItem ( )
cleanDBonPurge ( )
countVisibilities ( )
defineTabs ( $options = [] )
displayPlanningItem ( array $val, $who, $type = "", $complete ) : Nothing Display a Planning Item
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
getAlreadyPlannedInformation ( array $val ) : Already Display a Planning Item
getRights ( $interface = 'central' )
getSearchOptions ( )
getSpecificValueToDisplay ( $field, $values, array $options = [] )
getSpecificValueToSelect ( $field, $name = '', $values = '', array $options = [] )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb )
haveVisibilityAccess ( ) : boolean Is the login user have access to reminder based on visibility configuration
populatePlanning ( $options = [] ) : array Populate the planning with planned reminder
post_addItem ( )
post_getEmpty ( )
post_getFromDB ( )
post_updateItem ( $history = 1 )
pre_updateInDB ( )
prepareInputForAdd ( $input )
prepareInputForUpdate ( $input )
showForm ( $ID, $options = [] ) Print the reminder form
showListForCentral ( $personal = true ) : Nothing Show list for central view
showVisibility ( ) Show visibility config for a reminder

메소드 상세

addVisibilityJoins() 정적인 공개 메소드

Return visibility joins to add to SQL
static public addVisibilityJoins ( $forceall = false ) : string
$forceall force all joins (false by default)
리턴 string joins to add

addVisibilityRestrict() 정적인 공개 메소드

Return visibility SQL restriction to add
static public addVisibilityRestrict ( ) : string
리턴 string restrict to add

canCreate() 정적인 공개 메소드

static public canCreate ( )

canCreateItem() 공개 메소드

public canCreateItem ( )

canPurge() 정적인 공개 메소드

부터: 0.85 for personnal reminder
static public canPurge ( )

canPurgeItem() 공개 메소드

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

canUpdate() 정적인 공개 메소드

부터: 0.85 for personnal reminder
static public canUpdate ( )

canUpdateItem() 공개 메소드

public canUpdateItem ( )

canView() 정적인 공개 메소드

static public canView ( )

canViewItem() 공개 메소드

public canViewItem ( )

cleanDBonPurge() 공개 메소드

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

countVisibilities() 공개 메소드

public countVisibilities ( )

defineTabs() 공개 메소드

또한 보기: CommonGLPI::defineTabs()
public defineTabs ( $options = [] )

displayPlanningItem() 정적인 공개 메소드

Display a Planning Item
static public displayPlanningItem ( array $val, $who, $type = "", $complete ) : Nothing
$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)

displayTabContentForItem() 정적인 공개 메소드

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

getAlreadyPlannedInformation() 정적인 공개 메소드

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

getRights() 공개 메소드

또한 보기: commonDBTM::getRights()
public getRights ( $interface = 'central' )

getSearchOptions() 공개 메소드

public getSearchOptions ( )

getSpecificValueToDisplay() 정적인 공개 메소드

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

getSpecificValueToSelect() 정적인 공개 메소드

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

getTabNameForItem() 공개 메소드

또한 보기: CommonGLPI::getTabNameForItem()
public getTabNameForItem ( CommonGLPI $item, $withtemplate )
$item CommonGLPI

getTypeName() 정적인 공개 메소드

static public getTypeName ( $nb )

haveVisibilityAccess() 공개 메소드

Is the login user have access to reminder based on visibility configuration
public haveVisibilityAccess ( ) : boolean
리턴 boolean

populatePlanning() 정적인 공개 메소드

Populate the planning with planned reminder
static public populatePlanning ( $options = [] ) : array
$options array of possible options: - 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 - check_planned (boolean) - display_done_events (boolean)
리턴 array of planning item

post_addItem() 공개 메소드

public post_addItem ( )

post_getEmpty() 공개 메소드

public post_getEmpty ( )

post_getFromDB() 공개 메소드

public post_getFromDB ( )

post_updateItem() 공개 메소드

또한 보기: CommonDBTM::post_updateItem()
public post_updateItem ( $history = 1 )

pre_updateInDB() 공개 메소드

public pre_updateInDB ( )

prepareInputForAdd() 공개 메소드

또한 보기: CommonDBTM::prepareInputForAdd()
public prepareInputForAdd ( $input )

prepareInputForUpdate() 공개 메소드

또한 보기: CommonDBTM::prepareInputForUpdate()
public prepareInputForUpdate ( $input )

showForm() 공개 메소드

Print the reminder form
public showForm ( $ID, $options = [] )
$ID integer Id of the item to print
$options array of possible options: - target filename : where to go when done. - from_planning_ajax : set to disable planning form part

showListForCentral() 정적인 공개 메소드

Show list for central view
static public showListForCentral ( $personal = true ) : Nothing
$personal boolean : display reminders created by me ? (true by default)
리턴 Nothing (display function)

showVisibility() 공개 메소드

Show visibility config for a reminder
public showVisibility ( )

프로퍼티 상세

$dohistory 공개적으로 프로퍼티

From CommonDBTM
public $dohistory

$entities 보호되어 있는 프로퍼티

protected $entities

$groups 보호되어 있는 프로퍼티

protected $groups

$profiles 보호되어 있는 프로퍼티

protected $profiles

$rightname 정적으로 공개적으로 프로퍼티

static public $rightname

$users 보호되어 있는 프로퍼티

For visibility checks
protected $users