Forums / Developer / Fetch path_array directly in PHP / Comment56666
Jarosław Heba
Tuesday 19 January 2010 5:31:40 am
You should fetch a node - not an object.
Try this:
$mynode = eZContentObjectTreeNode::fetch( $node_id ); $my_path_array = $mynode->attribute( 'path_array' );
Please notice that you will get an array in $my_path_array - not URL.
Kind regards
J