API results for “find”

26 to 50 of 84

find($selector) apivar.method
Return the User(s) matching the the given selector query.

$page->find($selector = '', array $options = []) apivar.method
Find descendant pages matching given selector

$page->findOne($selector = '', array $options = []) apivar.method
Find one descendant page matching given selector

$page->closest($selector) apivar.method
Find the closest parent page matching your selector

descendants($selector = '', array $options = []) apivar.method
Find descendant pages, alias of `Page::find()`, see that method for details. since 3.0.116

descendant($selector = '', array $options = []) apivar.method
Find one descendant page, alias of `Page::findOne()`, see that method for details. since 3.0.116

WireArray::findRandom(int $num) function.method
Find a specified quantity of random elements from this WireArray.

WireArray::findRandomTimed(int $num, $seed = 'Ymd') function.method
Find a quantity of random elements from this WireArray based on a timed interval (or user provided seed).

WireArray::find($selector) function.method
Find all items in this WireArray that match the given selector.

WireArray::findOne($selector) function.method
Find a single item by selector

PageArray::findOnePage(string $selector) function.method
Same as find() or findOne() methods, but always returns a Page (whether Page or NullPage)

$page->find($selector = '', array $options = []) class.method
Find descendant pages matching given selector

$page->findOne($selector = '', array $options = []) class.method
Find one descendant page matching given selector

$page->closest($selector) class.method
Find the closest parent page matching your selector

descendants($selector = '', array $options = []) class.method
Find descendant pages, alias of `Page::find()`, see that method for details. since 3.0.116

descendant($selector = '', array $options = []) class.method
Find one descendant page, alias of `Page::findOne()`, see that method for details. since 3.0.116

Fieldtype::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.

Pagefiles::findTag($tag) class.method
Return all Pagefile objects that have the given tag(s).

$forms->findEntries(string $keywords, string $operator = '*=', $form = 0) class.method
Find form entries across all forms (or on specific form if specified)

InputfieldWrapper::child($name = '', bool $recursive = true) class.method
Find an Inputfield below this one that has the given name

InputfieldWrapper::find(string $selector) class.method
Find all children Inputfields matching a selector string

$pages->pathFinder->get(string $path, array $options = []) class.method
Get verbose array of info about a given page path

$pages->pathFinder->getPage(string $path, array $options = []) class.method
Given a path, get a Page object or NullPage if not found

PagesType::find(string $selectorString, array $options = []) class.method
Given a Selector string, return the Page objects that match in a PageArray.

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