mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-13 23:28:39 +00:00
More getters
This commit is contained in:
parent
62399ac021
commit
c64ddc5039
|
|
@ -144,6 +144,19 @@ class InfoManager
|
||||||
return $this->info['name']['internal'] ?? '';
|
return $this->info['name']['internal'] ?? '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get info data.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
* @author Dennis Eichhorn
|
||||||
|
*/
|
||||||
|
public function getExternalName() : string
|
||||||
|
{
|
||||||
|
return $this->info['name']['external'] ?? '';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get info data.
|
* Get info data.
|
||||||
*
|
*
|
||||||
|
|
@ -183,6 +196,19 @@ class InfoManager
|
||||||
return $this->info['directory'] ?? '';
|
return $this->info['directory'] ?? '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get info category.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*
|
||||||
|
* @since 1.0.0
|
||||||
|
* @author Dennis Eichhorn
|
||||||
|
*/
|
||||||
|
public function getCategory() : string
|
||||||
|
{
|
||||||
|
return $this->info['category'] ?? '';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get info data.
|
* Get info data.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user