implement separated models

This commit is contained in:
yggverse 2024-08-02 22:00:28 +03:00
parent 47b7344e2e
commit 10534df069
17 changed files with 662 additions and 520 deletions

View file

@ -76,7 +76,7 @@ class Content
{
$this->table->data->clear();
if ($records = $this->container->bookmark->browser->database->findBookmark($filter))
if ($records = $this->container->bookmark->browser->database->bookmark->find($filter))
{
foreach ($records as $record)
{

View file

@ -20,7 +20,7 @@ class Delete extends Button
{
if ($id = $this->navbar->container->content->table->getSelectedId())
{
$this->navbar->container->bookmark->browser->database->deleteBookmark(
$this->navbar->container->bookmark->browser->database->bookmark->delete(
$id
);
}