Skip to content

Instantly share code, notes, and snippets.

@luanpcweb
Created September 30, 2016 14:30
Show Gist options
  • Save luanpcweb/aea2673251b0491461cef1f61c754657 to your computer and use it in GitHub Desktop.
Save luanpcweb/aea2673251b0491461cef1f61c754657 to your computer and use it in GitHub Desktop.
Retorno api glpi
stdClass Object
(
[session] => stdClass Object
(
[glpi_plugins] => stdClass Object
(
[1] => datainjection
[2] => genericobject
[3] => resources
[5] => fields
[6] => consumables
[7] => arsurveys
[8] => ticketcleaner
[9] => dashboard
[10] => domains
[11] => manufacturersimports
[14] => tasklists
[15] => order
[16] => formcreator
[17] => mydashboard
[18] => news
[19] => timelineticket
[20] => simcard
)
[valid_id] => spvpaegnoki3uim5sj43hu8gp1
[glpi_currenttime] => 2016-09-30 11:28:14
[glpi_use_mode] => 0
[glpi_table_of] => stdClass Object
(
[User] => glpi_users
[Profile] => glpi_profiles
[PluginMydashboardPreference] => glpi_plugin_mydashboard_preferences
[ProfileRight] => glpi_profilerights
[APIClient] => glpi_apiclients
)
[glpiID] => 6
[glpiname] => demo_br
[glpirealname] =>
[glpifirstname] => Demo
[glpidefault_entity] => 0
[glpiusers_idisation] => 1
[glpiextauth] => 0
[glpiauthtype] => 1
[glpiroot] => /glpi
[glpi_plannings] => Array
(
)
[glpicrontimer] => 1475245693
[glpi_tabs] => Array
(
)
[glpibackcreated] => 0
[glpicsv_delimiter] => ;
[glpidate_format] => 1
[glpidefault_requesttypes_id] => 1
[glpidisplay_count_on_home] => 5
[glpiduedatecritical_color] => #ff0000
[glpiduedatecritical_less] => 5
[glpiduedatecritical_unit] => %
[glpiduedateok_color] => #06ff00
[glpiduedatewarning_color] => #ffb800
[glpiduedatewarning_less] => 20
[glpiduedatewarning_unit] => %
[glpifollowup_private] => 0
[glpiis_ids_visible] => 0
[glpikeep_devices_when_purging_item] => 0
[glpilanguage] => pt_BR
[glpilist_limit] => 15
[glpilock_autolock_mode] => 1
[glpilock_directunlock_notification] => 0
[glpinames_format] => 1
[glpinotification_to_myself] => 1
[glpinumber_format] => 4
[glpipdffont] => helvetica
[glpipriority_1] => #fff2f2
[glpipriority_2] => #ffe0e0
[glpipriority_3] => #ffcece
[glpipriority_4] => #ffbfbf
[glpipriority_5] => #ffadad
[glpipriority_6] => #ff5555
[glpirefresh_ticket_list] => 0
[glpiset_default_tech] => 1
[glpiset_default_requester] => 1
[glpishow_count_on_tabs] => 1
[glpishow_jobs_at_login] => 0
[glpitask_private] => 0
[glpitask_state] => 1
[glpiuse_flat_dropdowntree] => 0
[glpilayout] => lefttab
[glpiticket_timeline] => 1
[glpiticket_timeline_keep_replaced_tabs] => 0
[glpipalette] => auror
[glpihighcontrast_css] => 0
[glpi_dropdowntranslations] => Array
(
)
[glpipluralnumber] => 2
[glpiprofiles] => stdClass Object
(
[4] => stdClass Object
(
[name] => Super-Admin
[entities] => stdClass Object
(
[1] => stdClass Object
(
[id] => 1
[name] => DEMO
[is_recursive] => 1
)
)
)
)
[glpiactiveprofile] => stdClass Object
(
[id] => 4
[name] => Super-Admin
[interface] => central
[is_default] => 0
[helpdesk_hardware] => 3
[helpdesk_item_type] => Array
(
[0] => Computer
[1] => Monitor
[2] => NetworkEquipment
[3] => Peripheral
[4] => Phone
[5] => Printer
[6] => Software
)
[ticket_status] => Array
(
)
[date_mod] =>
[comment] =>
[problem_status] => Array
(
)
[create_ticket_on_login] => 0
[tickettemplates_id] => 0
[change_status] =>
[date_creation] =>
[backup] => 1055
[bookmark_public] => 31
[budget] => 255
[calendar] => 31
[cartridge] => 255
[change] => 1279
[changevalidation] => 1044
[computer] => 255
[config] => 31
[consumable] => 255
[contact_enterprise] => 255
[contract] => 255
[device] => 31
[document] => 255
[domain] => 31
[dropdown] => 31
[entity] => 3327
[followup] => 15383
[global_validation] => 0
[group] => 159
[infocom] => 31
[internet] => 159
[itilcategory] => 31
[knowbase] => 7327
[knowbasecategory] => 31
[license] => 255
[link] => 159
[location] => 31
[logs] => 1
[monitor] => 255
[netpoint] => 31
[networking] => 255
[notification] => 31
[password_update] => 1
[peripheral] => 255
[phone] => 255
[planning] => 3073
[plugin_consumables] => 31
[plugin_consumables_group] => 1
[plugin_consumables_request] => 1
[plugin_consumables_user] => 1
[plugin_consumables_validation] => 1
[plugin_datainjection_model] => 31
[plugin_datainjection_use] => 1
[plugin_domains] => 31
[plugin_domains_open_ticket] => 1
[plugin_genericobject_types] => 127
[plugin_manufacturersimports] => 23
[plugin_mydashboard] => 6
[plugin_mydashboard_config] => 6
[plugin_order_bill] => 127
[plugin_order_order] => 16383
[plugin_order_reference] => 127
[plugin_resources] => 127
[plugin_resources_all] => 1
[plugin_resources_budget] => 31
[plugin_resources_checklist] => 31
[plugin_resources_dropdown_public] => 31
[plugin_resources_employee] => 31
[plugin_resources_employment] => 31
[plugin_resources_holiday] => 31
[plugin_resources_open_ticket] => 1
[plugin_resources_resting] => 31
[plugin_resources_task] => 31
[plugin_tasklists] => 127
[plugin_timelineticket_ticket] => 2
[printer] => 255
[problem] => 1279
[profile] => 159
[project] => 1279
[projecttask] => 1025
[queuedmail] => 31
[reminder_public] => 159
[reports] => 1
[reservation] => 1055
[rssfeed_public] => 159
[rule_dictionnary_dropdown] => 31
[rule_dictionnary_printer] => 31
[rule_dictionnary_software] => 31
[rule_import] => 31
[rule_ldap] => 31
[rule_mailcollector] => 31
[rule_softwarecategories] => 31
[rule_ticket] => 1055
[search_config] => 3103
[show_group_hardware] => 0
[simcard:simcard] => 255
[sla] => 31
[software] => 255
[solutiontemplate] => 31
[state] => 31
[statistic] => 1
[task] => 13329
[taskcategory] => 31
[ticket] => 259231
[ticketcost] => 31
[ticketrecurrent] => 31
[tickettemplate] => 31
[ticketvalidation] => 15384
[transfer] => 31
[typedoc] => 31
[user] => 7327
[entities] => stdClass Object
(
[1] => stdClass Object
(
[id] => 1
[name] => DEMO
[is_recursive] => 1
)
)
)
[glpiactiveentities] => stdClass Object
(
[1] => 1
)
[glpisearch] => Array
(
)
[glpiactiveentities_string] => '1'
[glpiparententities] => Array
(
[0] => 0
)
[glpiparententities_string] => 0
[glpiactive_entity] => 1
[glpiactive_entity_recursive] =>
[glpiactive_entity_name] => Root entity > DEMO (estrutura de árvore)
[glpiactive_entity_shortname] => DEMO (estrutura de árvore)
[glpishowallentities] => 0
[glpigroups] => Array
(
)
[glpi_all_possible_rights] => stdClass Object
(
[backup] =>
[bookmark_public] =>
[budget] =>
[calendar] =>
[cartridge] =>
[change] =>
[changevalidation] =>
[computer] =>
[config] =>
[consumable] =>
[contact_enterprise] =>
[contract] =>
[device] =>
[document] =>
[domain] =>
[dropdown] =>
[entity] =>
[followup] =>
[global_validation] =>
[group] =>
[infocom] =>
[internet] =>
[itilcategory] =>
[knowbase] =>
[knowbasecategory] =>
[license] =>
[link] =>
[location] =>
[logs] =>
[monitor] =>
[netpoint] =>
[networking] =>
[notification] =>
[password_update] =>
[peripheral] =>
[phone] =>
[planning] =>
[plugin_consumables] =>
[plugin_consumables_group] =>
[plugin_consumables_request] =>
[plugin_consumables_user] =>
[plugin_consumables_validation] =>
[plugin_datainjection_model] =>
[plugin_datainjection_use] =>
[plugin_domains] =>
[plugin_domains_open_ticket] =>
[plugin_genericobject_types] =>
[plugin_manufacturersimports] =>
[plugin_mydashboard] =>
[plugin_mydashboard_config] =>
[plugin_order_bill] =>
[plugin_order_order] =>
[plugin_order_reference] =>
[plugin_resources] =>
[plugin_resources_all] =>
[plugin_resources_budget] =>
[plugin_resources_checklist] =>
[plugin_resources_dropdown_public] =>
[plugin_resources_employee] =>
[plugin_resources_employment] =>
[plugin_resources_holiday] =>
[plugin_resources_open_ticket] =>
[plugin_resources_resting] =>
[plugin_resources_task] =>
[plugin_tasklists] =>
[printer] =>
[problem] =>
[profile] =>
[project] =>
[projecttask] =>
[queuedmail] =>
[reminder_public] =>
[reports] =>
[reservation] =>
[rssfeed_public] =>
[rule_dictionnary_dropdown] =>
[rule_dictionnary_printer] =>
[rule_dictionnary_software] =>
[rule_import] =>
[rule_ldap] =>
[rule_mailcollector] =>
[rule_softwarecategories] =>
[rule_ticket] =>
[search_config] =>
[show_group_hardware] =>
[sla] =>
[software] =>
[solutiontemplate] =>
[state] =>
[statistic] =>
[task] =>
[taskcategory] =>
[ticket] =>
[ticketcost] =>
[ticketrecurrent] =>
[tickettemplate] =>
[ticketvalidation] =>
[transfer] =>
[typedoc] =>
[user] =>
[plugin_timelineticket_ticket] =>
[simcard:simcard] =>
)
[glpi_multientitiesmode] => 1
[noAUTO] => 1
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment