Collections functions
General functions
Render functions
Theme permission 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 3324 to 3327

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 30th September 2022 17:05 Europe/London time based on the source file dated 22nd September 2022 11:00 Europe/London time.