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

collection_is_research_request()

Description

Returns true if a collection is a research request

Parameters

ColumnTypeDefaultDescription
$collection int Collection ID

Return

boolean

Location

include/collections_functions.php lines 3442 to 3445

Definition

 
function collection_is_research_request($collection)
    {
    return 
ps_value("SELECT count(*) value FROM research_request WHERE collection=?", array("i"$collection), 0) > 0;
    }

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