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 2440 to 2443

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 29th January 2023 09:35 Europe/London time based on the source file dated 6th January 2023 19:05 Europe/London time.