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

get_collection_comments()

Description

Fetch all the comments for a given collection.

Parameters

ColumnTypeDefaultDescription
$collection integer

Return

array

Location

include/collections_functions.php lines 3318 to 3321

Definition

 
function get_collection_comments($collection)
    {
    return 
ps_query("select " columns_in("collection_resource") . " from collection_resource where collection=? and length(comment)>0 order by date_added",array("i",$collection));
    }

This article was last updated 19th March 2024 03:05 Europe/London time based on the source file dated 15th March 2024 17:00 Europe/London time.