mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 14:58:42 +00:00
Pull out more members to header
This commit is contained in:
parent
b87621bebc
commit
41de67d0db
|
|
@ -34,6 +34,22 @@ abstract class HeaderAbstract
|
||||||
*/
|
*/
|
||||||
protected static $isLocked = false;
|
protected static $isLocked = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Localization.
|
||||||
|
*
|
||||||
|
* @var Localization
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
protected $l11n = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Account.
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
protected $account = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Response status.
|
* Response status.
|
||||||
*
|
*
|
||||||
|
|
@ -42,6 +58,39 @@ abstract class HeaderAbstract
|
||||||
*/
|
*/
|
||||||
protected $status = 0;
|
protected $status = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function getL11n() : Localization
|
||||||
|
{
|
||||||
|
return $this->l11n;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function setL11n(Localization $l11n) /* : void */
|
||||||
|
{
|
||||||
|
$this->l11n = $l11n;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function getAccount() : int
|
||||||
|
{
|
||||||
|
return $this->account;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function setAccount(int $account) /* : void */
|
||||||
|
{
|
||||||
|
$this->account = $account;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
* todo: shouldn't this only be available in the header?!
|
* todo: shouldn't this only be available in the header?!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user