Collections functions
General functions
Render functions
Theme permission 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 2384 to 2387

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",""),"i",getval("archive","")));
    }

This article was last updated 30th September 2022 17:35 Europe/London time based on the source file dated 22nd September 2022 11:00 Europe/London time.