API results for “find”

51 to 75 of 89

PagesType::findIDs(string $selectorString, array $options = []) class.method
Given a Selector string, return the page IDs that match

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

FieldtypeCheckbox::getMatchQuery($query, string $table, string $subfield, string $operator, mixed $value) class.method
Get match query for PageFinder

FieldtypeComments::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, mixed $value) class.method
Update a query to match the text with a fulltext index

FieldtypeComments::findComments($field, string $selectorString) class.method
Find comments, static version for backwards compatibility

FieldtypeComments::find($selectorString, $field = null, array $options = []) class.method
Given a field and a selector, find all comments matching the selector

FieldtypeDatetime::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, $value) class.method
Match a date/time value in the database, as used by PageFinder

FieldtypeFloat::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, mixed $value) class.method
Get the database query that matches a Fieldtype table’s data with a given value.

FieldtypeModule::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, mixed $value) class.method
Get the database query that matches a Fieldtype table’s data with a given value.

FieldtypeOptions::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, mixed $value) class.method
Update a database query for finding values from this Fieldtype

FieldtypePage::cleanOrphanedReferences() class.method
Find and clean orphaned references in each of FieldtypePage's tables

FieldtypePage::findReferences(Page $page, $selector = '', $field = false, bool $getCount = false) class.method
Return pages referencing the given $page, optionally indexed by field name

FieldtypePageTable::findOrphans(Page $page, Field $field) class.method
Return orphan pages that match the PageTable settings

FieldtypeRepeater::getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, string $value) class.method
Update a DatabaseQuerySelect object to match a Page

FieldtypeRepeater::findUnnecessaryParents(Field $field, array $options = []) class.method
Find unnecessary parent pages that may be deleted