PluginFlyvemdmPackage - btry/glpi-plugin GitHub Wiki
- Class name: PluginFlyvemdmPackage
- Namespace:
- Parent class: CommonDBTM
public string $rightname = 'flyvemdm:package'
- Visibility: public
- This property is static.
protected boolean $usenotepad = true
- Visibility: protected
protected boolean $usenotepadRights = true
- Visibility: protected
mixed PluginFlyvemdmPackage::getTypeName($nb)
Localized name of the type
- Visibility: public
- This method is static.
- $nb mixed - <p>integer number of item in the type (default 0)</p>
string PluginFlyvemdmPackage::getMenuPicture()
Returns the picture file for the menu
- Visibility: public
- This method is static.
mixed PluginFlyvemdmPackage::defineTabs($options)
- Visibility: public
- $options mixed
string PluginFlyvemdmPackage::getTabNameForItem(\CommonGLPI $item, \number $withtemplate)
Returns the tab name of this itemtype, depending on the itemtype on which it will be displayed If the tab shall not display then returns an empty string
- Visibility: public
- $item CommonGLPI - <p>on which the tab will show</p>
- $withtemplate number - <p>template mode for $item : 0 = no template - 1 = edit template - 2 = from template</p>
mixed PluginFlyvemdmPackage::displayTabContentForItem(\CommonGLPI $item, \number $tabnum, \number $withtemplate)
Display the content of the tab provided by this itemtype
- Visibility: public
- This method is static.
- $item CommonGLPI
- $tabnum number
- $withtemplate number
mixed PluginFlyvemdmPackage::showForm(integer $ID, array $options)
Display a form to view, create or edit
- Visibility: public
- $ID integer - <p>ID of the item to show</p>
- $options array
integer PluginFlyvemdmPackage::getMaxFileSize()
Gets the maximum file size allowed for uploads from PHP configuration
- Visibility: protected
- This method is static.
mixed PluginFlyvemdmPackage::addNeededInfoToInput($input)
- Visibility: public
- $input mixed
mixed PluginFlyvemdmPackage::prepareInputForAdd($input)
- Visibility: public
- $input mixed
mixed PluginFlyvemdmPackage::prepareInputForUpdate($input)
(non-PHPdoc)
- Visibility: public
- $input mixed
mixed PluginFlyvemdmPackage::post_getFromDB()
Actions done after the getFromDB method
- Visibility: public
mixed PluginFlyvemdmPackage::post_updateItem($history)
- Visibility: public
- $history mixed
mixed PluginFlyvemdmPackage::pre_deleteItem()
- Visibility: public
mixed PluginFlyvemdmPackage::post_purgeItem()
- Visibility: public
mixed PluginFlyvemdmPackage::createEntityDirectory(string $dir)
Create a directory
- Visibility: protected
- $dir string
mixed PluginFlyvemdmPackage::getSearchOptions()
- Visibility: public
boolean|string PluginFlyvemdmPackage::getFileURL()
Get the download URL for the application
- Visibility: public
mixed PluginFlyvemdmPackage::sendFile()
Sends a file
- Visibility: protected
mixed PluginFlyvemdmPackage::hook_entity_purge(\CommonDBTM $item)
Deletes the packages related to the entity
- Visibility: public
- $item CommonDBTM