Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test functions

get_default_search_states()

Description

get the default archive states to search

Parameters

This function accepts no parameters.

Return

array

Location

include/search_functions.php lines 2143 to 2154

Definition

 
function get_default_search_states()
    {
    global 
$searchstates;

    
$defaultsearchstates = isset($searchstates) ? $searchstates : array(0); // May be set by rse_workflow plugin
    
$modifiedstates hook("modify_default_search_states","",array($defaultsearchstates));
    if(
is_array($modifiedstates))
        {
        return 
$modifiedstates;
        }
    return 
$defaultsearchstates;
    }

This article was last updated 17th November 2024 15:05 Europe/London time based on the source file dated 8th November 2024 11:45 Europe/London time.