Show variable and array lists

zoon_unit - December 27, 2006 - 21:40
Project:Documentation
Component:New documentation
Category:feature request
Priority:normal
Assigned:robbiethegeek
Status:closed
Description

Document the variables and arrays used within Drupal core and available to developers and users through the Drupal interface. This information would be invaluable for people trying to code PHP snippets.

vid, uid, nid, etc, etc. We need to know the variable names and structure of these arrays in order to build php, use functions or develop modules! Much too hard to find this information right now.

It would also help to document the database structure of Drupal core tables.

#1

pwolanin - December 27, 2006 - 22:21

There's quite a bit already scattered in the handbook:

http://drupal.org/node/22754

http://drupal.org/node/49768

#2

zoon_unit - December 28, 2006 - 05:53

Thank you! These reference pages are a bit hard to find, but the object reference is great. Need more of the same. Also, the object reference is listed as compatible with 4.6. Has object reference stayed the same or does it need to be updated for 4.7 & 5.0?

#3

xamount - February 10, 2007 - 05:33

You should check out the Devel Module. It has exactly what you are asking for.

#4

dokumori - August 31, 2008 - 08:29
Project:Documentation» Drupal
Version:<none>» 7.x-dev
Component:Developer Guide» documentation

Changed the component to reflect the new component categorization. See http://drupal.org/node/301443
-dokumori

#5

dokumori - August 31, 2008 - 09:41
Project:Drupal» Documentation
Version:7.x-dev» <none>
Component:documentation» New documentation

#6

Manuel Garcia - January 25, 2009 - 13:09

I think we should also point to the API, specially: http://api.drupal.org/api/globals

#7

robbiethegeek - March 7, 2009 - 16:49
Assigned to:Anonymous» robbiethegeek

Wrote a page to address this http://drupal.org/node/394206

#8

add1sun - October 30, 2009 - 07:43
Status:active» fixed

Marking this fixed since we have a page to make it easier to find this stuff. Folks can feel free to add/edit as they want.

#9

System Message - November 13, 2009 - 07:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.