mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-22 21:38:40 +00:00
Template fixes
This commit is contained in:
parent
737dd6e491
commit
362d71d34c
|
|
@ -130,7 +130,17 @@ class Navigation
|
|||
}
|
||||
}
|
||||
|
||||
private function setReadable(array &$nav, $parent)
|
||||
/**
|
||||
* Set navigation elements as readable
|
||||
*
|
||||
* @param array $nav Full Navigation
|
||||
* @param int $parent Parent id
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private function setReadable(array &$nav, int $parent) : void
|
||||
{
|
||||
if (isset($nav[$parent])) {
|
||||
$nav[$parent][0]['readable'] = true;
|
||||
|
|
@ -170,15 +180,6 @@ class Navigation
|
|||
return self::$instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Overwriting clone in order to maintain singleton pattern.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __clone()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Get navigation based on account permissions
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user