mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
Handle "incoming" menu entry (in inout and prestudent filters)
This commit is contained in:
@@ -46,8 +46,6 @@ class StudVwLib
|
||||
'aufgenommen' => 'filter',
|
||||
'warteliste' => 'filter',
|
||||
'absage' => 'filter',
|
||||
'incoming' => 'filter',
|
||||
'incoming' => 'inout',
|
||||
'outgoing' => 'inout',
|
||||
'shared_studies' => 'inout'
|
||||
];
|
||||
@@ -174,6 +172,14 @@ class StudVwLib
|
||||
return $this->_ci->stglib->orgform($path_template, $stg->studiengang_kz);
|
||||
}
|
||||
|
||||
public function incoming($has_children, $path_template, $stg)
|
||||
{
|
||||
if ($stg === null)
|
||||
return $this->inout('incoming', $has_children, $path_template);
|
||||
|
||||
return $this->filter('incoming', $has_children, $path_template, $stg);
|
||||
}
|
||||
|
||||
public function filter($original_method, $has_children, $path_template, $stg)
|
||||
{
|
||||
$stg = $this->getStgFromUrl($stg);
|
||||
|
||||
Reference in New Issue
Block a user