API results for “find”
Selectors::setCustomVariableValue(string $name, $value) class.method
Set a custom [variable] value available to all Selectors and PageFinder class instances
Selectors::getCustomVariableValue(string $name) class.method
Get the value for a custom [var] to populate in a selector (also works in PageFinder)
WireTextTools::findPlaceholders(string $str, array $options = []) class.method
Find and return all {placeholder} tags found in given string
WireTextTools::findReplaceEscapeChars($str, array $escapeChars, array $options = []) class.method
Find escaped characters in $str, replace them with a placeholder, and return the placeholders
WireTextTools::strpos(string $haystack, string $needle, int $offset = 0) class.method
Find position of first occurrence of string in a string
WireTextTools::stripos(string $haystack, string $needle, int $offset = 0) class.method
Find the position of the first occurrence of a case-insensitive substring in a string
WireTextTools::strrpos(string $haystack, string $needle, int $offset = 0) class.method
Find the position of the last occurrence of a substring in a string
WireTextTools::strripos(string $haystack, string $needle, int $offset = 0) class.method
Find the position of the last occurrence of a case-insensitive substring in a string
WireTextTools::strstr(string $haystack, string $needle, bool $beforeNeedle = false) class.method
Find the first occurrence of a string
WireTextTools::stristr(string $haystack, string $needle, bool $beforeNeedle = false) class.method
Find the first occurrence of a string (case insensitive)
WireTextTools::strrchr(string $haystack, string $needle) class.method
Find the last occurrence of a character in a string
InputfieldPage::findPagesCode(Page $page) module.method
Execute the findPagesCode
InputfieldPage::createFindPagesSelector(array $options = []) module.method
Create a page finding selector from all configured properties
FieldtypeModule::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, mixed $value) module.method
Get the database query that matches a Fieldtype table’s data with a given value.
FieldtypeTextarea::findLinks(Page $page, $selector = '', $field = '', array $options = []) module.method
Find abstracted HTML/href attribute Textarea links to given $page
FieldtypeToggle::getMatchQuery($query, string $table, string $subfield, string $operator, mixed $value) module.method
@param DatabaseQuerySelect|PageFinderDatabaseQuerySelect $query
FieldtypeComments::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, mixed $value) module.method
Update a query to match the text with a fulltext index
FieldtypeComments::findComments($field, string $selectorString) module.method
Find comments, static version for backwards compatibility
FieldtypeComments::find($selectorString, $field = null, array $options = []) module.method
Given a field and a selector, find all comments matching the selector
FieldtypeOptions::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, mixed $value) module.method
Update a database query for finding values from this Fieldtype
FieldtypeRepeater::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, string $value) module.method
Update a DatabaseQuerySelect object to match a Page
FieldtypeRepeater::findUnnecessaryParents(Field $field, array $options = []) module.method
Find unnecessary parent pages that may be deleted
FieldtypeCheckbox::getMatchQuery($query, string $table, string $subfield, string $operator, mixed $value) module.method
Get match query for PageFinder
FieldtypeDatetime::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, $value) module.method
Match a date/time value in the database, as used by PageFinder
FieldtypePage::cleanOrphanedReferences() module.method
Find and clean orphaned references in each of FieldtypePage's tables