Table::findPages($field)

Version 4.1

Find pages with given values

Find pages with given values.

Given values are NOT parsed through fieldtype query parser. Ie. given values are directly used in MySQL query.

Return value

Object Pages

Arguments

$field
Array(fieldname=>value)

Full documentation

Find all worktimes for an employee in certain date:

$Work = $this->get('table','worktime')->findPage(Array(
    'employee' => $customer->getId(),
    'day' => '2016-05-12'
));