Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 1595 to 1598

Definition

 
function delete_all_resource_nodes($resourceid)
    {
    
ps_query("DELETE FROM resource_node WHERE resource = ?",array("i",$resourceid));  
    }

This article was last updated 21st May 2024 12:05 Europe/London time based on the source file dated 14th May 2024 18:25 Europe/London time.