AjaxTools
in package
uses
TraitData
Read onlyYes
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- ajaxDelSavedSearch() : string
- autoCheck() : string
- checkJsDataForPID() : array<string|int, mixed>
- getDataInstance() : Data
- validatePartyIdForEdit() : int
- checkTerm() : string
- kickUnwanted() : void
- removeSingleCharWords() : string
- Remove all single character words from a term.
Properties
$initBase
private
InitBase
$initBase
$input
private
Input
$input
$user
private
User
$user
Methods
__construct()
public
__construct(User $user, InitBase $initBase) : mixed
Parameters
ajaxDelSavedSearch()
public
ajaxDelSavedSearch(int $aID) : string
Parameters
- $aID : int
Return values
stringautoCheck()
public
autoCheck([bool $isEmptyOK = false ][, bool $doDecode = false ]) : string
Parameters
- $isEmptyOK : bool = false
- $doDecode : bool = false
Return values
stringcheckJsDataForPID()
public
checkJsDataForPID() : array<string|int, mixed>
Return values
array<string|int, mixed>getDataInstance()
public
getDataInstance() : Data
Return values
DatavalidatePartyIdForEdit()
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