Php code to get node_id with url

Author Message

Christophe Saint-Pierre

Wednesday 24 December 2008 7:03:13 am

Hi ,
I would like to know where to get examples of php code witch ca do :

- get the node_id of a node with the url in argument.

For example I have the url : "/Ecole/Actualites/Vivement-Les-Vacances" and I would appreciate the function witch gives me the node_id.

Thank

Carlos Revillo

Thursday 25 December 2008 2:15:10 am

Hi. Maybe you can try with

eZContentObjectTreeNode::fetchByURLPath($url)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.