ok for form to add entry for equipment not listed, next save entry and equipment in db
This commit is contained in:
parent
5b47a9d0ba
commit
cd22b2a759
17 changed files with 178 additions and 25 deletions
|
|
@ -6,13 +6,10 @@ use Garradin\DB;
|
|||
|
||||
class Category
|
||||
{
|
||||
protected $id;
|
||||
protected $name;
|
||||
|
||||
protected $_types = [
|
||||
'id' => 'int',
|
||||
'name' => 'string',
|
||||
];
|
||||
protected $columns_order = array(
|
||||
'id',
|
||||
'name',
|
||||
);
|
||||
|
||||
public function add($data = [])
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue