LSFilter_Saved_Queries_Model Class Reference

Models the interface of saved queries for the listview search filters. More...

Static Public Member Functions

static get_queries ($table=false)
 Get a set of queries, possible given a table name.
static get_query ($name, $table=false)
 get a given query by name, possible by table name
static save_query ($name, $query, $scope)
 Save a query to the database.
static delete_query ($id)
 Delete a query to the database.

Data Fields

const tablename = 'ninja_saved_filters'
 Name of saved searches table.

Detailed Description

Models the interface of saved queries for the listview search filters.


Member Function Documentation

static LSFilter_Saved_Queries_Model::save_query ( name,
query,
scope 
) [static]

Save a query to the database.

Parameters:
$name string
$query string
$scope string "user" or "global"
Exceptions:
Exception if query can't be saved

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 19 Dec 2018 for ninja by  doxygen 1.6.1