Collections functions
General functions
Render functions
Theme permission functions
Resource functions

log_node_changes()

Description

Add detail of node changes to resource log

Parameters

ColumnTypeDefaultDescription
$resource integer Resource ID
$nodes_added array Array of node IDs that have been added
$nodes_removed array Array of node IDs that have been removed
$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"]

Return

boolean Success/failure

This article was last updated 3rd October 2022 12:35 Europe/London time based on the source file dated 31st August 2022 15:20 Europe/London time.