You've probably familiar with this output from print_r:
Hierarchy Object
(
[parent:private] => Hierarchy Object
(
[parent:private] =>
[children:private] => Array
(
)
[level:private] => 0
[price_modes:private] => Array
(
)
[id:protected] =>
[left_id:protected] =>
[right_id:protected] =>
[name:protected] =>
[validationFailures:protected] => Array
(
)
[_new:private] => 1
[_deleted:private] =>
[modifiedColumns:protected] =开发者_开发知识库> Array
(
)
)
[level:private] => 1
[price_modes:private] => Array
(
)
)
Is there anything that exists that would produce HTML that would allow for me to roll up, say, the parent stuff to something like this:
Hierarchy Object
(
+ [parent:private] => Hierarchy Object
[level:private] => 1
)
and then re-expand it by clicking on the +?
Yes, it's available as the Krumo project.
精彩评论