public static find ([mixed $parameters])
Allows to query a set of records that match the specified conditions
// How many robots are there?
$robots = Robots::find();
echo 'There are ', count($robots), "\n";
// How many mechanical robots are there?
$robots = Robots::find("type='mechanical'");
echo 'There are ', count($robots), "\n";
// Get and print virtual robots ordered by name
$robots = Robots::find(["type='virtual'", 'order' => 'name']);
foreach ($robots as $robot) {
echo $robo