Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

delete_all_resource_nodes()

Description

Delete all node relationships for the given resource.

Parameters

ColumnTypeDefaultDescription
$resourceid integer The resource ID

Return

void

Location

include/node_functions.php lines 1389 to 1392

Definition

 
function delete_all_resource_nodes($resourceid)
    {
    
sql_query("DELETE FROM resource_node WHERE resource ='$resourceid';");  
    }

This article was last updated 1st December 2020 09:05 Europe/London time based on the source file dated 30th November 2020 09:45 Europe/London time.