$hooks = theme_get_registry();

Then we dpm($hooks) and know $hooks is an object,
but failed to get the data via $hooks->storage;
It s not array, either.
So Can some one tell us what kind of structure this data get formed.
Or some thing very speical and different?

Regards.

Comments

Jaypan’s picture

If $hooks is an object, and $hooks->storage doesn't show you anything, then it either doesn't exist, or is empty.

qqboy’s picture

not empty
$hooks->storage not available.
$hooks['storage'] not available.
--
Then who can tell us what s happening.

Jaypan’s picture

Then it is empty, or doesn't exist. (Or maybe FALSE)

Why do you think it's not empty? Show us:

* the code that you are using to determine both the fact that you think it's not empty
* the way you are trying to output it that makes you think you cannot access it.