Blocks for themes

This commit is contained in:
Diego Najar 2018-12-13 14:05:07 +01:00
parent e95a4808e6
commit 8624f32e15
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@ class Blocks extends dbJSON
parent::__construct(DB_BLOCKS); parent::__construct(DB_BLOCKS);
} }
public function get()
{
return $this->db[$key];
}
// Add a row to the database // Add a row to the database
public function add($args) public function add($args)
{ {