Property | Type | Description | |
---|---|---|---|
$already_transfer | Already transfer item | ||
$inittype | type of initial item transfered | ||
$item_recurs | Search in need to be exclude from transfer | ||
$item_search | Search in need to be transfer items | ||
$needtobe_transfer | Items simulate to move - non recursive item or recursive item not visible in destination entity | ||
$noneedtobe_transfer | Items simulate to move - recursive item visible in destination entity | ||
$options | Options used to transfer | ||
$rightname | |||
$to | Destination entity id |
Method | Description | |
---|---|---|
addNotToBeTransfer ( $itemtype, $ID ) | Add an item in the noneedtobe_transfer list | |
addToAlreadyTransfer ( $itemtype, $ID, $newID ) | Add an item to already transfer array | |
addToBeTransfer ( $itemtype, $ID ) | Add an item in the needtobe_transfer list | |
cleanSoftwareVersions ( ) | ||
cleanSoftwares ( ) | ||
copySingleSoftware ( $ID ) | Copy (if needed) One software to the destination entity | |
copySingleVersion ( $ID ) | Copy (if needed) One softwareversion to the Dest Entity | |
createSearchConditionUsingArray ( $array ) : string | Create IN condition for SQL requests based on a array if ID | |
defineTabs ( $options = [] ) | ||
deleteDirectConnection ( $itemtype, $ID ) | Delete direct connection for a linked item | |
getSearchOptions ( ) | ||
manageConnectionComputer ( $itemtype, $ID ) | Delete direct connection beetween an item and a computer when transfering the item | |
moveItems ( $items, $to, $options ) | Transfer items | |
showForm ( $ID, $options = [] ) : boolean | Print the transfer form | |
showTransferList ( ) | Display items to transfers | |
simulateTransfer ( $items ) | simulate the transfer to know which items need to be transfer | |
transferAffectedLicense ( $ID ) | Transfer affected licenses to a computer | |
transferCompatiblePrinters ( $ID, $newID ) | Transfer compatible printers for a cartridge type | |
transferComputerDisks ( $ID ) | Transfer disks of a computer | |
transferComputerSoftwares ( $ID ) | Transfer softwares of a computer | |
transferContracts ( $itemtype, $ID, $newID ) | Transfer contracts | |
transferDevices ( $itemtype, $ID, $newID ) | Transfer devices of an item | |
transferDirectConnection ( $itemtype, $ID, $link_type ) | Delete direct connection for a linked item | |
transferDocuments ( $itemtype, $ID, $newID ) | Transfer documents | |
transferDropdownLocation ( $locID ) : new | Transfer location | |
transferDropdownNetpoint ( $netpoints_id ) : new | Transfer netpoint | |
transferHelpdeskAdditionalInformations ( $data ) | Transfer ticket/problem infos | |
transferHistory ( $itemtype, $ID, $newID ) | Transfer history | |
transferInfocoms ( $itemtype, $ID, $newID ) | Transfer infocoms of an item | |
transferItem ( $itemtype, $ID, $newID ) : nothing | transfer an item to another item (may be the same) in the new entity | |
transferLinkedSuppliers ( $itemtype, $ID, $newID ) | Transfer suppliers for specified tickets or problems | |
transferNetworkLink ( $itemtype, $ID, $newID ) | Transfer network links | |
transferPrinterCartridges ( $ID, $newID ) | Transfer cartridges of a printer | |
transferReservations ( $itemtype, $ID, $newID ) | Transfer reservations of an item | |
transferSingleSupplier ( $ID ) | Transfer an enterprise | |
transferSoftwareLicensesAndVersions ( $ID ) | Transfer License and Version of a Software | |
transferSupplierContacts ( $ID, $newID ) | Transfer contacts of an enterprise | |
transferTaskCategory ( $itemtype, $ID, $newID ) | Transfer task categories for specified tickets | |
transferTickets ( $itemtype, $ID, $newID ) | Transfer tickets |
public addNotToBeTransfer ( $itemtype, $ID ) | ||
$itemtype | of the item | |
$ID | of the item |
public addToAlreadyTransfer ( $itemtype, $ID, $newID ) | ||
$itemtype | item type | |
$ID | item original ID | |
$newID | item new ID |
public addToBeTransfer ( $itemtype, $ID ) | ||
$itemtype | of the item | |
$ID | of the item |
public copySingleSoftware ( $ID ) | ||
$ID | of the software |
public copySingleVersion ( $ID ) | ||
$ID | of the version |
public createSearchConditionUsingArray ( $array ) : string | ||
$array | array of ID | |
return | string | of the IN condition |
public deleteDirectConnection ( $itemtype, $ID ) | ||
$itemtype | item type | |
$ID | ID of the item |
public manageConnectionComputer ( $itemtype, $ID ) | ||
$itemtype | itemtype to tranfer | |
$ID | ID of the item |
public moveItems ( $items, $to, $options ) | ||
$items | items to transfer | |
$to | entity destination ID | |
$options | options used to transfer |
public simulateTransfer ( $items ) | ||
$items | Array of the items to transfer |
public transferAffectedLicense ( $ID ) | ||
$ID | ID of the License |
public transferCompatiblePrinters ( $ID, $newID ) | ||
$ID | original ID of the cartridge type | |
$newID | new ID of the cartridge type |
public transferComputerDisks ( $ID ) | ||
$ID | ID of the computer |
public transferComputerSoftwares ( $ID ) | ||
$ID | ID of the computer |
public transferContracts ( $itemtype, $ID, $newID ) | ||
$itemtype | original type of transfered item | |
$ID | original ID of the contract | |
$newID | new ID of the contract |
public transferDevices ( $itemtype, $ID, $newID ) | ||
$itemtype | original type of transfered item | |
$ID | ID of the item | |
$newID | new ID of the item |
public transferDirectConnection ( $itemtype, $ID, $link_type ) | ||
$itemtype | original type of transfered item | |
$ID | ID of the item | |
$link_type | type of the linked items to transfer |
public transferDocuments ( $itemtype, $ID, $newID ) | ||
$itemtype | original type of transfered item | |
$ID | original ID of the document | |
$newID | new ID of the document |
public transferDropdownLocation ( $locID ) : new | ||
$locID | location ID | |
return | new | location ID |
public transferDropdownNetpoint ( $netpoints_id ) : new | ||
$netpoints_id | netpoint ID | |
return | new | netpoint ID |
public transferHelpdeskAdditionalInformations ( $data ) | ||
$data | ticket data fields |
public transferHistory ( $itemtype, $ID, $newID ) | ||
$itemtype | original type of transfered item | |
$ID | original ID of the history | |
$newID | new ID of the history |
public transferInfocoms ( $itemtype, $ID, $newID ) | ||
$itemtype | type of the item to transfer | |
$ID | original ID of the item | |
$newID | new ID of the item |
public transferItem ( $itemtype, $ID, $newID ) : nothing | ||
$itemtype | item type to transfer | |
$ID | ID of the item to transfer | |
$newID | new ID of the ite Transfer item to a new Item if $ID==$newID : only update entities_id field : $ID!=$new ID -> copy datas (like template system) | |
return | nothing | (diplays) |
public transferLinkedSuppliers ( $itemtype, $ID, $newID ) | ||
$itemtype | itemtype : Problem / Ticket | |
$ID | original ticket ID | |
$newID | new ticket ID |
public transferNetworkLink ( $itemtype, $ID, $newID ) | ||
$itemtype | original type of transfered item | |
$ID | original ID of the item | |
$newID | new ID of the item |
public transferPrinterCartridges ( $ID, $newID ) | ||
$ID | original ID of the printer | |
$newID | new ID of the printer |
public transferReservations ( $itemtype, $ID, $newID ) | ||
$itemtype | original type of transfered item | |
$ID | original ID of the item | |
$newID | new ID of the item |
public transferSingleSupplier ( $ID ) | ||
$ID | ID of the enterprise |
public transferSoftwareLicensesAndVersions ( $ID ) | ||
$ID | ID of the Software |
public transferSupplierContacts ( $ID, $newID ) | ||
$ID | original ID of the enterprise | |
$newID | new ID of the enterprise |
public transferTaskCategory ( $itemtype, $ID, $newID ) | ||
$itemtype | itemtype : Problem / Ticket | |
$ID | original ticket ID | |
$newID | new ticket ID |
public transferTickets ( $itemtype, $ID, $newID ) | ||
$itemtype | type of transfered item | |
$ID | original ID of the ticket | |
$newID | new ID of the ticket |
public $needtobe_transfer |
public $noneedtobe_transfer |