Commit 1cb2c1d1 authored by Marco Schmiedel's avatar Marco Schmiedel

fix

parent 9bece57e
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Commands\BashColorDemoCommand; namespace Ceetrox\Commands\BashColorDemoCommand;
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
| Class "BashColorDemoCommand" | Class "BashColorDemoCommand"
|------------------------------------------------------------------------------------------------ |------------------------------------------------------------------------------------------------
*/ */
class BashColorDemoCommand extends Command class BashColorDemoCommand extends Command
{ {
/* /*
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Commands\CodebeautifierCommand; namespace Ceetrox\Commands\CodebeautifierCommand;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Managers\BeautifyManager; namespace Ceetrox\Managers\BeautifyManager;
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
| Class "BeautifyManager" | Class "BeautifyManager"
|------------------------------------------------------------------------------------------------ |------------------------------------------------------------------------------------------------
*/ */
class BeautifyManager class BeautifyManager
{ {
/* /*
|-------------------------------------------------------------------------------------------- |--------------------------------------------------------------------------------------------
...@@ -204,8 +204,17 @@ ...@@ -204,8 +204,17 @@
return $this->tpl; return $this->tpl;
} }
// Its better to abort here when the class does not have any methods... /*
if(!isset($this->classes['Methods'])) |----------------------------------------------------------------------------------------
| Its better to abort here when the class does not have any methods to render. Its
| probably a wrong file...
*/
if(!isset($this->classes[0]['Methods']))
{
return false;
}
if(empty($this->classes[0]['Methods']))
{ {
return false; return false;
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Managers\DirectoryManager; namespace Ceetrox\Managers\DirectoryManager;
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
| Class "DirectoryManager" | Class "DirectoryManager"
|------------------------------------------------------------------------------------------------ |------------------------------------------------------------------------------------------------
*/ */
class DirectoryManager class DirectoryManager
{ {
/* /*
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Sidekick\Managers\PicassoManager; namespace Ceetrox\Sidekick\Managers\PicassoManager;
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
| Class "AssetHelper" | Class "AssetHelper"
|------------------------------------------------------------------------------------------------ |------------------------------------------------------------------------------------------------
*/ */
class AssetHelper class AssetHelper
{ {
/* /*
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
*/ */
static function generateAssetTag($configCls, $currentNamespace, $currentFolder, $currentKey) static function generateAssetTag($configCls, $currentNamespace, $currentFolder, $currentKey)
{ {
/* /*
|---------------------------------------------------------------------------------------- |----------------------------------------------------------------------------------------
| Define a defaultempty return value. | Define a defaultempty return value.
...@@ -62,7 +61,6 @@ ...@@ -62,7 +61,6 @@
*/ */
foreach ($configCls->assetAllocation[$currentKey] as $asset) foreach ($configCls->assetAllocation[$currentKey] as $asset)
{ {
/* /*
|-------------------------------------------------------------------------------- |--------------------------------------------------------------------------------
| Check if the asset is a external url or a private hostet path. | Check if the asset is a external url or a private hostet path.
...@@ -73,13 +71,11 @@ ...@@ -73,13 +71,11 @@
|---------------------------------------------------------------------------- |----------------------------------------------------------------------------
| Build array for the secure publisher in case of a private path. | Build array for the secure publisher in case of a private path.
*/ */
$path = __DIR__ . '/../../Views/' . $currentNamespace . '/' . $currentFolder . '/' . $asset; $path = __DIR__ . '/../../Views/' . $currentNamespace . '/' . $currentFolder . '/' . $asset;
$array = [ $array = [
'path' => $path, 'path' => $path,
'code' => md5(env('APP_KEY') . $path) 'code' => md5(env('APP_KEY') . $path)
]; ];
} }
else else
{ {
...@@ -134,8 +130,6 @@ ...@@ -134,8 +130,6 @@
*/ */
static function resolveAssetTagCategory($__env, $type) static function resolveAssetTagCategory($__env, $type)
{ {
/* /*
|---------------------------------------------------------------------------------------- |----------------------------------------------------------------------------------------
| First define a virtual storage for all elements that should be send to the master | First define a virtual storage for all elements that should be send to the master
...@@ -155,7 +149,6 @@ ...@@ -155,7 +149,6 @@
*/ */
foreach ($__env->getSections() as $section) foreach ($__env->getSections() as $section)
{ {
/* /*
|------------------------------------------------------------------------------------ |------------------------------------------------------------------------------------
| Filter the picasso tags with preg_match_all. | Filter the picasso tags with preg_match_all.
...@@ -168,8 +161,6 @@ ...@@ -168,8 +161,6 @@
*/ */
if ($picassoTag[0]) if ($picassoTag[0])
{ {
/* /*
|-------------------------------------------------------------------------------- |--------------------------------------------------------------------------------
| Loop all found picasso tags. | Loop all found picasso tags.
...@@ -227,7 +218,6 @@ ...@@ -227,7 +218,6 @@
*/ */
if ($type == 'javascript') if ($type == 'javascript')
{ {
$storage .= '<script src="' . $url . '"></script>'; $storage .= '<script src="' . $url . '"></script>';
} }
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Sidekick\Managers\PicassoManager; namespace Ceetrox\Sidekick\Managers\PicassoManager;
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
| Class "BladeManagement" | Class "BladeManagement"
|------------------------------------------------------------------------------------------------ |------------------------------------------------------------------------------------------------
*/ */
class BladeManagement class BladeManagement
{ {
/* /*
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
| Class "ViewStorage" | Class "ViewStorage"
|------------------------------------------------------------------------------------------------ |------------------------------------------------------------------------------------------------
*/ */
class ViewStorage extends ServiceProvider class ViewStorage extends ServiceProvider
{ {
/* /*
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Sidekick\Managers\ResourcePublisherManager; namespace Ceetrox\Sidekick\Managers\ResourcePublisherManager;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Managers\TerminalManager; namespace Ceetrox\Managers\TerminalManager;
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
| Class "TerminalManager" | Class "TerminalManager"
|------------------------------------------------------------------------------------------------ |------------------------------------------------------------------------------------------------
*/ */
class TerminalManager class TerminalManager
{ {
/* /*
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Providers\CommandServiceProvider; namespace Ceetrox\Providers\CommandServiceProvider;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Providers; namespace Ceetrox\Providers;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Providers\PicassoServiceProvider; namespace Ceetrox\Providers\PicassoServiceProvider;
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
| Class "PicassoServiceProvider" | Class "PicassoServiceProvider"
|------------------------------------------------------------------------------------------------ |------------------------------------------------------------------------------------------------
*/ */
class PicassoServiceProvider extends ServiceProvider class PicassoServiceProvider extends ServiceProvider
{ {
/* /*
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Date: 2022-04-12 14:01:45 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Sidekick\Views\Limitless\Element; namespace Ceetrox\Sidekick\Views\Limitless\Element;
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
| Class "Config" | Class "Config"
|------------------------------------------------------------------------------------------------ |------------------------------------------------------------------------------------------------
*/ */
class Config class Config
{ {
/* /*
|-------------------------------------------------------------------------------------------- |--------------------------------------------------------------------------------------------
...@@ -38,22 +38,23 @@ ...@@ -38,22 +38,23 @@
*/ */
public $methodAllocation = [ public $methodAllocation = [
'Limitless::ElementCardStart' => 'cardStart', 'Limitless::ElementCardStart' => 'cardStart',
'Limitless::ElementCardStop' => 'cardStop', 'Limitless::ElementCardStop' => 'cardStop',
'Limitless::Example' => 'example', 'Limitless::Example' => 'example',
]; ];
public $assetAllocation = [ public $assetAllocation = [
'Limitless::Example' => [ 'Limitless::Example' => [
'Example/example.js', 'Example/example.js',
'Example/example.css' 'Example/example.css'
] ]
]; ];
/* /*
|-------------------------------------------------------------------------------------------- |--------------------------------------------------------------------------------------------
| Method "CardStart" | Method "cardStart"
|-------------------------------------------------------------------------------------------- |--------------------------------------------------------------------------------------------
| Method "CardStart"
*/ */
public function cardStart($parameters) public function cardStart($parameters)
{ {
...@@ -63,16 +64,31 @@ ...@@ -63,16 +64,31 @@
->withCollapsable( (isset($parameters['collapsable']) ? $parameters['collapsable'] : true) ) ->withCollapsable( (isset($parameters['collapsable']) ? $parameters['collapsable'] : true) )
->withRemoveable( (isset($parameters['removeable']) ? $parameters['removeable'] : false) ) ->withRemoveable( (isset($parameters['removeable']) ? $parameters['removeable'] : false) )
->withExtra( (isset($parameters['extra']) ? $parameters['extra'] : [] ) ); ->withExtra( (isset($parameters['extra']) ? $parameters['extra'] : [] ) );
} }
/*
|--------------------------------------------------------------------------------------------
| Method "cardStop"
|--------------------------------------------------------------------------------------------
*/
public function cardStop() public function cardStop()
{ {
return View('Limitless::Element.Card.Stop'); return View('Limitless::Element.Card.Stop');
} }
public function example()
/*
|--------------------------------------------------------------------------------------------
| Method "example"
|--------------------------------------------------------------------------------------------
*/
public function example()
{ {
return View('Limitless::Element.Example.Div'); return View('Limitless::Element.Example.Div');
} }
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
| sidekick package. | sidekick package.
| |
| Author: Marco Schmiedel <marco.schmiedel@itmax.email> | Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Date: 2022-04-12 14:01:45 | Update: 2022-04-13 09:16:43
| |
*/ */
namespace Ceetrox\Sidekick\Views\Limitless\Help; namespace Ceetrox\Sidekick\Views\Limitless\Help;
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
| Class "Config" | Class "Config"
|------------------------------------------------------------------------------------------------ |------------------------------------------------------------------------------------------------
*/ */
class Config class Config
{ {
/* /*
|-------------------------------------------------------------------------------------------- |--------------------------------------------------------------------------------------------
...@@ -41,7 +41,11 @@ ...@@ -41,7 +41,11 @@
]; ];
/*
|--------------------------------------------------------------------------------------------
| Method "internalNavigation"
|--------------------------------------------------------------------------------------------
*/
public function internalNavigation($parameters) public function internalNavigation($parameters)
{ {
return View('Limitless::Help.Pages.Home'); return View('Limitless::Help.Pages.Home');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment