Property | Type | Description | |
---|---|---|---|
$validColumns | array | Contains all valid columns in the database table |
Method | Description | |
---|---|---|
create ( ) : boolean | Create a new record for the object in database | |
delete ( ) : void | Deletes object from database | |
getByAbbreviation ( string $abbreviation ) : void | ||
getById ( $id ) : void | ||
getByReference ( string $reference ) : void | ||
init ( ) : void | Get the valid columns from the database | |
save ( ) : void | Save object to database | |
update ( ) : void |
public getByAbbreviation ( string $abbreviation ) : void | ||
$abbreviation | string | |
return | void |
public getByReference ( string $reference ) : void | ||
$reference | string | |
return | void |
protected array $validColumns | ||
return | array |