mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
First almost working version of daemons
This commit is contained in:
parent
e709ed91b7
commit
6614c2cfeb
9 changed files with 491 additions and 20 deletions
|
@ -23,6 +23,15 @@ namespace models;
|
|||
*/
|
||||
abstract protected function get_table_name() : string;
|
||||
|
||||
/**
|
||||
* Return all the entries
|
||||
* @return array
|
||||
*/
|
||||
public function get_all ()
|
||||
{
|
||||
return $this->_select($this->get_table_name());
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return an entry by his id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue