Tuesday 22 December 2009 2:12:13 am
Hi there, I have a problem with eZContentObject::fetchByNodeId(). When I try to fetch a node like the 64, I use something like that (in fact it's in a loop) :
$noeud = eZContentObject::fetchByNodeId(64); But when I want to see what it returns with :
ezDebug::writeNotice(print_r($noeud, true), "Damien"); The output shows something like : eZContentObject Object
(
[ID] => 62
[Name] => My wonderfull folder
[CurrentLanguage] => fre-FR
[ClassName] =>
[ClassIdentifier] =>
[DataMap] => Array
(
[3] => Array
(
[fre-FR] => Array
(
[nom] => eZContentObjectAttribute Object
(
[HTTPValue] =>
[Content] =>
[DisplayInfo] =>
[IsValid] =>
So, why haven't I the correct node ID in the returned Object while the datas are good (DataMap, has the correct values) ? This problem is embarassing because I need to know the ClassName whos is not defined in the returned object...
For information :
eZ Publish version 4.2.0 Installed as an ezwebin template (without content) Thanks
|