AjaxTools
in package
uses
TraitUser
Table of Contents
Properties
Methods
- __construct() : mixed
- ajaxDelSavedSearch() : string
- autoCheck() : string
- checkJsDataForPID() : array<string|int, mixed>
- getUserInstance() : User
- validatePartyIdForEdit() : int
- checkTerm() : string
- kickUnwanted() : void
- removeSingleCharWords() : string
- Remove all single character words from a term.
Properties
$input
private
Input
$input
Methods
__construct()
public
__construct() : mixed
ajaxDelSavedSearch()
public
ajaxDelSavedSearch(int $aID) : string
Parameters
- $aID : int
Tags
Return values
stringautoCheck()
public
autoCheck([bool $isEmptyOK = false ][, bool $doDecode = false ]) : string
Parameters
- $isEmptyOK : bool = false
- $doDecode : bool = false
Return values
stringcheckJsDataForPID()
public
checkJsDataForPID(string $jsData) : array<string|int, mixed>
Parameters
- $jsData : string
Return values
array<string|int, mixed>getUserInstance()
public
getUserInstance() : User
Return values
UservalidatePartyIdForEdit()
public
validatePartyIdForEdit(mixed $aID) : int
Parameters
- $aID : mixed
Return values
intcheckTerm()
private
checkTerm([bool $doDecode = false ]) : string
Parameters
- $doDecode : bool = false
Return values
stringkickUnwanted()
private
kickUnwanted(string $term, bool $isEmptyOK) : void
Parameters
- $term : string
- $isEmptyOK : bool
removeSingleCharWords()
Remove all single character words from a term.
private
removeSingleCharWords(string $term) : string
Parameters
- $term : string