mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
implement status code 11 route
This commit is contained in:
parent
176f14e36e
commit
dca454cf50
2 changed files with 17 additions and 3 deletions
|
|
@ -80,16 +80,24 @@ class Response
|
|||
}
|
||||
|
||||
public function show(
|
||||
?string $placeholder = null
|
||||
?string $placeholder = null,
|
||||
?bool $visible = null
|
||||
): void
|
||||
{
|
||||
if ($placeholder)
|
||||
if (!is_null($placeholder))
|
||||
{
|
||||
$this->query->setPlaceholder(
|
||||
$placeholder
|
||||
);
|
||||
}
|
||||
|
||||
if (!is_null($visible))
|
||||
{
|
||||
$this->query->setVisible(
|
||||
$visible
|
||||
);
|
||||
}
|
||||
|
||||
$this->gtk->show();
|
||||
}
|
||||
|
||||
|
|
@ -99,6 +107,10 @@ class Response
|
|||
null
|
||||
);
|
||||
|
||||
$this->query->setVisible(
|
||||
null
|
||||
);
|
||||
|
||||
$this->gtk->hide();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue