Where is my Page Data?!

Where is my page data?! Should you want to get the current page data, you will find, that Drupal stores 'page' data in a number of different ways. There is a 'content' data, that can be retrieved through menu_get_object() call, then, there is a $page variable that stores page theming data that you can get with hook_preprocess_HOOK() call, called on a page. And finally, if you are using Panels pages, you will find menu_get_object() return a null, and the page data stored in a ctools page manager array, available through page_manager_get_current_page(). With these three calls, you should be able to get your page data most of the time.