Item lists
Item lists are groups of Item objects retrieved from the database.
<?php
namespace CherrycakeApp;
class Movies extends \Cherrycake\Items {
protected $tableName = "movies";
protected $itemClassName = "\CherrycakeApp\Movie";
}$movies = new Movies([
"fillMethod" => "fromParameters",
"p" => []
]);
echo "{$movies->count()} Movies found";Limit results
Results pagination
Iterating Items in a pattern
Last updated