Bluz\Crud\AbstractCrud
Crud
- Author: Anton Shevchuk
Synopsis
- // members
- protected array $fields = ;
- // methods
- public abstract array getPrimaryKey()
- public static AbstractCrud getInstance()
- public void readOne()
- public void readSet()
- public void createOne()
- public void createSet()
- public void updateOne()
- public void updateSet()
- public void deleteOne()
- public void deleteSet()
- public array getFields()
- public void setFields()
- protected array filterData()
- protected Row filterRow()
Hierarchy
Implements
Tasks
Line | Task |
---|---|
+ | should be different for Create, Read and Update |
Constants
Name | Value |
---|---|
DEFAULT_LIMIT | 10 |
Members
protected
- $fields — array
Methods
protected
- filterData() — Filter input Fields
- filterRow() — Filter output Row
public
- createOne()
- createSet()
- deleteOne()
- deleteSet()
- getFields()
- getInstance() — Get CRUD Instance
- getPrimaryKey() — Return primary key signature
- readOne()
- readSet()
- setFields()
- updateOne()
- updateSet()
History
-
2017-09-21T10:42:27+00:00 (commit #fd622b0)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Updated scrutinizer configuration
-
2017-08-30T13:22:17+00:00 (commit #004bb5b)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Create CrudInterface
-
2017-08-22T15:09:27+00:00 (commit #38fd8e8)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Added fields filter for `Crud` and `Mapper\Link`
-
2017-08-03T14:11:40+00:00 (commit #15278f6)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Renamed `Line` to `Str` Added `class_namespace` function
-
2017-06-30T08:36:40+00:00 (commit #2259ecf)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Fixed comments style
-
2017-04-27T07:41:15+00:00 (commit #3880ffe)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Small refactoring
-
2017-04-21T13:24:35+00:00 (commit #3b25a3d)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Small update for codestyle
-
2017-02-15T16:09:44+00:00 (commit #0fc0c8b)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Updated coveralls config
-
2017-02-13T10:14:18+00:00 (commit #43dbf55)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Rollback to `getCount()` method
-
2017-01-30T13:15:49+00:00 (commit #fd5d943)
Author: Anton (AntonShevchuk@gmail.com) / Commiter: GitHub (AntonShevchuk@gmail.com)
Merge pull request #395 from AntonShevchuk/master Added `AttachmentResponse`
-
2017-01-30T12:38:53+00:00 (commit #0ab8691)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Added `AttachmentResponse` Added `attachment($file)` helper for `Controller`