You are probably familiar with this print_r result:
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 would create HTML that would allow me to collapse, say, the parent material, something like this:
Hierarchy Object ( + [parent:private] => Hierarchy Object [level:private] => 1 )
and then redeploy it by clicking +?
source share