mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-27 23:58:40 +00:00
manual cs fixes
This commit is contained in:
parent
1425b7feed
commit
5f0193522b
|
|
@ -50,6 +50,7 @@ final class SearchController extends Controller
|
|||
{
|
||||
$this->loadLanguage($request, $response, $request->getData('app'));
|
||||
|
||||
/** @var \Modules\Navigation\Models\NavElement[] $elements */
|
||||
$elements = NavElementMapper::getAll();
|
||||
$search = \strtolower(\explode(' ', $request->getData('search'))[1]);
|
||||
|
||||
|
|
|
|||
|
|
@ -24,33 +24,33 @@ namespace Modules\Navigation\Models;
|
|||
*/
|
||||
class NavElement
|
||||
{
|
||||
public int $id = 0;
|
||||
public int $id = 0;
|
||||
|
||||
public string $pid = '';
|
||||
public string $pid = '';
|
||||
|
||||
public string $name = '';
|
||||
public string $name = '';
|
||||
|
||||
public int $type = 1;
|
||||
public int $type = 1;
|
||||
|
||||
public int $subtype = 2;
|
||||
public int $subtype = 2;
|
||||
|
||||
public ?string $icon = null;
|
||||
public ?string $icon = null;
|
||||
|
||||
public ?string $uri = null;
|
||||
public ?string $uri = null;
|
||||
|
||||
public string $target = 'self';
|
||||
public string $target = 'self';
|
||||
|
||||
public ?string $action = null;
|
||||
public ?string $action = null;
|
||||
|
||||
public string $from = '0';
|
||||
public string $from = '0';
|
||||
|
||||
public int $order = 1;
|
||||
public int $order = 1;
|
||||
|
||||
public int $parent = 0;
|
||||
public int $parent = 0;
|
||||
|
||||
public ?int $permissionPerm = null;
|
||||
public ?int $permissionPerm = null;
|
||||
|
||||
public ?int $permissionType = null;
|
||||
public ?int $permissionType = null;
|
||||
|
||||
public ?int $permissionElement = null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user