Forums / Developer / set priority value / Comment39739

Author Topic

Eirik Alfstad Johansen

Monday 26 January 2004 1:09:37 am

Comment39739

Hi again,

I just took a look at the kernel code for updating priorities, and noticed that they are in fact set directly (no designated class method). Here's how it's done:

$db->query( "UPDATE ezcontentobject_tree SET priority=$priority WHERE node_id=$nodeID" );

Sincerely,

Eirik Johansen

Sincerely,

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