PluginFlyvemdmFleet - btry/glpi-plugin GitHub Wiki
- Class name: PluginFlyvemdmFleet
- Namespace:
- Parent class: CommonDBTM
- This class implements: PluginFlyvemdmNotifiable
public string $rightname = 'flyvemdm:fleet'
- Visibility: public
- This property is static.
public boolean $dohistory = true
- Visibility: public
protected boolean $usenotepad = true
- Visibility: protected
protected boolean $usenotepadRights = true
- Visibility: protected
protected mixed $deleteDefaultFleet = false
- Visibility: protected
public mixed $types = array('Phone')
- Visibility: public
- This property is static.
mixed PluginFlyvemdmFleet::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 PluginFlyvemdmFleet::getMenuPicture()
Returns the picture file for the menu
- Visibility: public
- This method is static.
mixed PluginFlyvemdmFleet::defineTabs($options)
- Visibility: public
- $options mixed
mixed PluginFlyvemdmFleet::showForm($ID, $options)
Show form for edition
- Visibility: public
- $ID mixed
- $options mixed
mixed PluginFlyvemdmFleet::prepareInputForAdd($input)
- Visibility: public
- $input mixed
mixed PluginFlyvemdmFleet::prepareInputForUpdate($input)
- Visibility: public
- $input mixed
boolean PluginFlyvemdmFleet::pre_deleteItem()
Actions done before the DELETE of the item in the database / Maybe used to add another check for deletion
- Visibility: public
mixed PluginFlyvemdmFleet::getSearchOptions()
- Visibility: public
mixed PluginFlyvemdmNotifiable::getTopic()
Gets the topic related to the notifiable
- Visibility: public
- This method is defined by PluginFlyvemdmNotifiable
\nothing PluginFlyvemdmFleet::post_addItem()
Actions done after the ADD of the item in the database
- Visibility: public
mixed PluginFlyvemdmFleet::post_deleteItem()
- Visibility: public
mixed PluginFlyvemdmFleet::post_purgeItem()
- Visibility: public
mixed PluginFlyvemdmFleet::cleanDBonPurge()
- Visibility: public
array PluginFlyvemdmNotifiable::getAgents()
get the agents related to the notifiable
- Visibility: public
- This method is defined by PluginFlyvemdmNotifiable
\PluginFlyvemdmFleet PluginFlyvemdmNotifiable::getFleet()
get the fleet attached to the notifiable
- Visibility: public
- This method is defined by PluginFlyvemdmNotifiable
array PluginFlyvemdmNotifiable::getPackages()
get the applications related to the notifiable
- Visibility: public
- This method is defined by PluginFlyvemdmNotifiable
array PluginFlyvemdmNotifiable::getFiles()
get the files related to the notifiable
- Visibility: public
- This method is defined by PluginFlyvemdmNotifiable
\PluginFlyvemdmFleet|null PluginFlyvemdmFleet::getFromDBByDefaultForEntity(string $entityId)
Gets the default fleet for an entity
- Visibility: public
- $entityId string - <p>ID of the entoty to search in</p>
\PluginFlyvemdmFleet|null PluginFlyvemdmFleet::getDefaultFleet(string $entityId)
Gets the default fleet for an entity
- Visibility: public
- This method is static.
- $entityId string - <p>ID of the entoty to search in</p>
mixed PluginFlyvemdmNotifiable::notify(string $topic, string $mqttMessage, \number $qos, \number $retain)
Send a MQTT message
- Visibility: public
- This method is defined by PluginFlyvemdmNotifiable
- $topic string
- $mqttMessage string
- $qos number
- $retain number
mixed PluginFlyvemdmFleet::hook_entity_add(\CommonDBTM $item)
create folders and initial setup of the entity related to MDM
- Visibility: public
- $item CommonDBTM
mixed PluginFlyvemdmFleet::hook_entity_purge(\CommonDBTM $item)
delete fleets in the entity being purged
- Visibility: public
- $item CommonDBTM