tableNameThe name of the table where the items are stored.
itemClassNameThe name of the Item class.
databaseProviderNameThe database provider name where this items are stored. Defaults to
Movieitems when creating it by passing the
fillMethodkey as you see in the example above.
Since we're not specifying any parameters in the
pkey, we'll simply get all movies in the database at once.
nresults instead of all of them, you can specify the
limitkey when creating your
Moviesobject, like this:
pagekeys. Let's say you're dividing your movie listing in pages containing five movies each, and you want to get the third page. You would do it like this:
Remember that pages start at zero, not at 1.