rename methods, use namespace

This commit is contained in:
yggverse 2024-07-19 20:25:37 +03:00
parent 9cc75a8fcf
commit b8b59e6f56
9 changed files with 20 additions and 20 deletions

View file

@ -90,7 +90,7 @@ class Content
);
// Refresh header by new title if current page is active
if ($this->page === $this->page->container->tab->getPage())
if ($this->page === $this->page->container->tab->get())
{
$this->page->container->browser->header->setTitle(
$this->page->title->getValue(),

View file

@ -16,7 +16,7 @@ class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navb
$entry->get_text()
);
$this->navbar->page->container->tab->updateSession();
$this->navbar->page->container->tab->update();
}
protected function _onKeyRelease(
@ -26,7 +26,7 @@ class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navb
{
$this->navbar->refresh();
$this->navbar->page->container->tab->updateSession();
$this->navbar->page->container->tab->update();
}
protected function _onChanged(
@ -40,7 +40,7 @@ class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navb
1000, // wait for one second to apply changes
function()
{
$this->navbar->page->container->tab->updateSession();
$this->navbar->page->container->tab->update();
return false; // stop
}