Bluz\Crud\CrudInterface
Crud
- Author: Anton Shevchuk
Synopsis
interface CrudInterface
{
- // constants
- const DEFAULT_LIMIT = 10;
- // methods
- public mixed readOne()
- public array readSet()
- public mixed createOne()
- public mixed createSet()
- public integer updateOne()
- public integer updateSet()
- public integer deleteOne()
- public integer deleteSet()
Constants
Name | Value |
---|---|
DEFAULT_LIMIT | 10 |
Methods
public
- createOne() — Create new item
- createSet() — Create items
- deleteOne() — Delete item
- deleteSet() — Delete items
- readOne() — Get item by primary key(s)
- readSet() — Get collection of items
- updateOne() — Update item
- updateSet() — Update items