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

add_saved_search()

Description

Add a saved search to a collection

Parameters

ColumnTypeDefaultDescription
$collection integer

Return

void

Location

include/collections_functions.php lines 2451 to 2454

Definition

 
function add_saved_search($collection)
    {
    
ps_query("insert into collection_savedsearch(collection,search,restypes,archive) values (?,?,?,?)",array("i",$collection,"s",getval("addsearch",""),"s",getval("restypes",""),"s",getval("archive","")));
    }

This article was last updated 27th April 2023 11:05 Europe/London time based on the source file dated 11th April 2023 18:25 Europe/London time.