Gets the All fields search value. This code should go to AfterTableInit or BeforeDisplay events of List or Print pages.
Syntax
getAllFieldsSearchValue()
Arguments
No arguments.
Return value
Returns the 'All fields search' value.
Examples
Print the 'All fields search' value ( search box in the top right corner of the List page).
$srchObj = SearchClause::getSearchObject("Cars");
echo $srchObj->getAllFieldsSearchValue();
See also:
•Search API: setAllFieldsSearchValue()