Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
S
sidekick
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Privat - Marco Schmiedel
sidekick
Commits
374a52ba
Commit
374a52ba
authored
Jun 20, 2022
by
Kevin Yumang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
serv-2286_navigation_elements - beautified navigation config
parent
3b01d237
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
102 additions
and
60 deletions
+102
-60
Stop.blade.php
src/Views/Limitless/Element/Card/Stop.blade.php
+0
-0
Config.php
src/Views/Limitless/Navigation/Config.php
+102
-60
No files found.
src/Views/Limitless/Element/Card/Stop.php
→
src/Views/Limitless/Element/Card/Stop.
blade.
php
View file @
374a52ba
File moved
src/Views/Limitless/Navigation/Config.php
View file @
374a52ba
<?php
<?php
/*
/*
|------------------------------------------------------------------------------------------------
|------------------------------------------------------------------------------------------------
| Information
| Information
|------------------------------------------------------------------------------------------------
|------------------------------------------------------------------------------------------------
|
|
| This file is beautified by the command "sidekick:CodebeautifierCommand" of the ceetrox
| This file is beautified by the command "sidekick:CodebeautifierCommand" of the ceetrox
| sidekick package.
| sidekick package.
|
|
| Author: Kevin Almond Roe Yumang <kevin.yumang@itmax.email>
| Author: Kevin Almond Roe Yumang <kevin.yumang@itmax.email>
| Update: 2022-06-17 01:45:33
| Update: 2022-06-20 08:27:18
|
|
*/
*/
namespace
Ceetrox\Sidekick\Views\Limitless\Navigation
;
namespace
Ceetrox\Sidekick\Views\Limitless\Navigation
;
/*
/*
|------------------------------------------------------------------------------------------------
|------------------------------------------------------------------------------------------------
| Dependencies
| Dependencies
|------------------------------------------------------------------------------------------------
|------------------------------------------------------------------------------------------------
*/
*/
use
View
;
use
View
;
/*
/*
|------------------------------------------------------------------------------------------------
|------------------------------------------------------------------------------------------------
| Class "Config"
| Class "Config"
|------------------------------------------------------------------------------------------------
|------------------------------------------------------------------------------------------------
*/
*/
class
Config
class
Config
{
{
public
$methodAllocation
=
[
public
$methodAllocation
=
[
'Limitless::NavigationStart'
=>
'navigationStart'
,
'Limitless::NavigationStart'
=>
'navigationStart'
,
'Limitless::NavigationStop'
=>
'navigationStop'
,
'Limitless::NavigationStop'
=>
'navigationStop'
,
...
@@ -40,12 +40,25 @@
...
@@ -40,12 +40,25 @@
'Limitless::NavigationMenuStop'
=>
'navigationMenuStop'
,
'Limitless::NavigationMenuStop'
=>
'navigationMenuStop'
,
];
];
/*
|--------------------------------------------------------------------------------------------
| Method "navigationMenuSectionTitle"
|--------------------------------------------------------------------------------------------
*/
public
function
navigationMenuSectionTitle
(
$parameters
)
public
function
navigationMenuSectionTitle
(
$parameters
)
{
{
return
View
(
'Limitless::Navigation.NavigationMenuSectionTitle'
)
return
View
(
'Limitless::Navigation.NavigationMenuSectionTitle'
)
->
withTitle
(
(
isset
(
$parameters
[
'title'
])
?
$parameters
[
'title'
]
:
'No Title'
)
);
->
withTitle
(
(
isset
(
$parameters
[
'title'
])
?
$parameters
[
'title'
]
:
'No Title'
)
);
}
}
/*
|--------------------------------------------------------------------------------------------
| Method "navigationMenuItem"
|--------------------------------------------------------------------------------------------
*/
public
function
navigationMenuItem
(
$parameters
)
public
function
navigationMenuItem
(
$parameters
)
{
{
return
View
(
'Limitless::Navigation.NavigationMenuItem'
)
return
View
(
'Limitless::Navigation.NavigationMenuItem'
)
...
@@ -53,32 +66,61 @@
...
@@ -53,32 +66,61 @@
->
withTarget
(
(
isset
(
$parameters
[
'target'
])
?
$parameters
[
'target'
]
:
'_self'
)
)
->
withTarget
(
(
isset
(
$parameters
[
'target'
])
?
$parameters
[
'target'
]
:
'_self'
)
)
->
withIcon
(
(
isset
(
$parameters
[
'icon'
])
?
$parameters
[
'icon'
]
:
'icon-primitive-dot'
)
)
->
withIcon
(
(
isset
(
$parameters
[
'icon'
])
?
$parameters
[
'icon'
]
:
'icon-primitive-dot'
)
)
->
withTitle
(
(
isset
(
$parameters
[
'title'
])
?
$parameters
[
'title'
]
:
'No Title'
)
);
->
withTitle
(
(
isset
(
$parameters
[
'title'
])
?
$parameters
[
'title'
]
:
'No Title'
)
);
}
}
/*
|--------------------------------------------------------------------------------------------
| Method "navigationStart"
|--------------------------------------------------------------------------------------------
*/
public
function
navigationStart
(
$parameters
)
public
function
navigationStart
(
$parameters
)
{
{
return
View
(
'Limitless::Navigation.NavigationStart'
)
return
View
(
'Limitless::Navigation.NavigationStart'
)
->
withExtra
(
(
isset
(
$parameters
[
'extra'
])
?
$parameters
[
'extra'
]
:
[]
)
);
->
withExtra
(
(
isset
(
$parameters
[
'extra'
])
?
$parameters
[
'extra'
]
:
[]
)
);
}
}
/*
|--------------------------------------------------------------------------------------------
| Method "navigationStop"
|--------------------------------------------------------------------------------------------
*/
public
function
navigationStop
()
public
function
navigationStop
()
{
{
return
View
(
'Limitless::Navigation.NavigationStop'
);
return
View
(
'Limitless::Navigation.NavigationStop'
);
}
}
/*
|--------------------------------------------------------------------------------------------
| Method "navigationMenuStart"
|--------------------------------------------------------------------------------------------
*/
public
function
navigationMenuStart
(
$parameters
)
public
function
navigationMenuStart
(
$parameters
)
{
{
return
View
(
'Limitless::Navigation.NavigationMenuStart'
)
return
View
(
'Limitless::Navigation.NavigationMenuStart'
)
->
withIcon
(
(
isset
(
$parameters
[
'icon'
])
?
$parameters
[
'icon'
]
:
'icon-primitive-dot'
)
)
->
withIcon
(
(
isset
(
$parameters
[
'icon'
])
?
$parameters
[
'icon'
]
:
'icon-primitive-dot'
)
)
->
withTitle
(
(
isset
(
$parameters
[
'title'
])
?
$parameters
[
'title'
]
:
'No Title'
)
);
->
withTitle
(
(
isset
(
$parameters
[
'title'
])
?
$parameters
[
'title'
]
:
'No Title'
)
);
}
}
/*
|--------------------------------------------------------------------------------------------
| Method "navigationMenuStop"
|--------------------------------------------------------------------------------------------
*/
public
function
navigationMenuStop
()
public
function
navigationMenuStop
()
{
{
return
View
(
'Limitless::Navigation.NavigationMenuStop'
);
return
View
(
'Limitless::Navigation.NavigationMenuStop'
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment