Closed (fixed)
Project:
Documentation
Component:
New documentation
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
27 Dec 2006 at 21:40 UTC
Updated:
13 Nov 2009 at 07:50 UTC
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.
Comments
Comment #1
pwolanin commentedThere's quite a bit already scattered in the handbook:
http://drupal.org/node/22754
http://drupal.org/node/49768
Comment #2
zoon_unit commentedThank 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?
Comment #3
xamountYou should check out the Devel Module. It has exactly what you are asking for.
Comment #4
dokumori commentedChanged the component to reflect the new component categorization. See http://drupal.org/node/301443
-dokumori
Comment #5
dokumori commentedComment #6
manuel garcia commentedI think we should also point to the API, specially: http://api.drupal.org/api/globals
Comment #7
robbiethegeek commentedWrote a page to address this http://drupal.org/node/394206
Comment #8
add1sun commentedMarking 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.