Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video 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 2569 to 2572

Definition

 
function collection_is_research_request($collection)
    {
    return (
sql_value("select count(*) value from research_request where collection='" escape_check($collection) . "'",0)>0);
    }

This article was last updated 30th November 2020 14:05 Europe/London time based on the source file dated 25th November 2020 10:35 Europe/London time.