Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions



Add detail of node changes to resource log

Note that this function originally required only the added and removed nodes to be passed.
This was prior to node reversion changes, which requires the logging of all the existing resource nodes


$resource integer Resource ID
$nodes_new array Array of new node IDs
$nodes_current array Array of old node IDs
$lognote string "" Optional note to add to log entry
$nodes_renamed array [] Optional array of old node names with node id as key e.g. [345 => 'oldname',678 => "pastname"]


boolean Success/failure

This article was last updated 22nd May 2024 15:35 Europe/London time based on the source file dated 23rd February 2024 17:00 Europe/London time.