A lot of code cleanup and code sanitation done.
This commit is contained in:
@@ -7,8 +7,9 @@ if (!defined('APP_INIT')) {
|
||||
|
||||
class pageNavbar
|
||||
{
|
||||
public $breadCrumb;
|
||||
private $buttons = array();
|
||||
public bool $breadCrumb;
|
||||
private array $buttons = array();
|
||||
private string $title;
|
||||
|
||||
public function __construct($showBreadCrumb, $title = false)
|
||||
{
|
||||
@@ -16,12 +17,12 @@ class pageNavbar
|
||||
$this->title = $title;
|
||||
}
|
||||
|
||||
public function AddHTMLButton($html)
|
||||
public function AddHTMLButton($html): void
|
||||
{
|
||||
array_push($this->buttons, $html);
|
||||
$this->buttons[] = $html;
|
||||
}
|
||||
|
||||
public function outPutNavbar()
|
||||
public function outPutNavbar(): void
|
||||
{
|
||||
?>
|
||||
<div class="row">
|
||||
|
||||
Reference in New Issue
Block a user