class SearchMode extends AbstractParameter

What we're searching for

Note: Recent changes may not immediately be reflected in search results due to a short delay in indexing.

Constants

TAG_FILENAME

Search only existing file names

TAG_FILENAME_AND_CONTENT

Search file names and their contents

DELETED_FILENAME

Deleted file names

Methods

array
jsonSerialize()

Specify data which should be serialized to JSON

string
__toString()

A shorthand for JSON-encoding parameters

static  SearchMode
filename()

Search file and folder names.

static  SearchMode
filenameAndContent()

Search file and folder names as well as file contents.

static  SearchMode
deletedFilename()

Search for deleted file and folder names.

Details

in AbstractParameter at line line 64
array jsonSerialize()

Specify data which should be serialized to JSON

Return Value

array data which can be serialized by json_encode, which is a value of any type other than a resource.

See also

http://php.net/manual/en/jsonserializable.jsonserialize.php

in AbstractParameter at line line 75
string __toString()

A shorthand for JSON-encoding parameters

Return Value

string

at line line 58
static SearchMode filename()

Search file and folder names.

Return Value

SearchMode

at line line 68
static SearchMode filenameAndContent()

Search file and folder names as well as file contents.

Return Value

SearchMode

at line line 78
static SearchMode deletedFilename()

Search for deleted file and folder names.

Return Value

SearchMode