Share » Forums » Developer » Node assignment and node_ID

Node assignment and node_ID

Node assignment and node_ID

Thursday 24 February 2005 1:12:42 am - 2 replies

Author Message

Eirik Alfstad Johansen

Thursday 24 February 2005 9:12:45 am

Hi Olav,

Have you tried $nodeAssignment->attribute("id") ?

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Olav Bringedal

Friday 25 February 2005 12:45:03 am

Thanks, I wish it was that easy :)

debug shows that's the unique id of the node assigmnent

class eznodeassignment {
  var $PersistentDataDirty = false;
  var $ID = 6875;
  var $RemoteID = 0;
  var $ParentRemoteID = '';
  var $ContentobjectID = 6868;
  var $ContentObjectVersion = 1;
  var $ParentNode = 69;
 ...
}

the folder itself gets the values: 

class ezcontentobjecttreenode {
 ...
  var $Name = 'Billetter';
  var $ClassIdentifier = 'folder';
  var $ClassName = 'Folder';
  <b> var $NodeID = '4359';</b>
  var $ParentNodeID = '69';
  var $MainNodeID = '4359'; 
  var $ContentObjectID = '6868';
...
}


Senior Consultant
http://Umoe-consulting.no

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu