- Bug corrected within definitions which were still tied to the test project.

- Added pagination widget.
This commit is contained in:
mcndave committed 2021-01-22 14:38:17 +00:00
1 parent 98d1685172
commit 52e55f2bba
10 files changed
+50 -22

No files matched your search

+6 -1
View File
@@ -41,7 +41,7 @@ class Lean
public function getPiceaContext() : string
{
foreach(array_reverse($this->applications) as $apps) {
if ( $apps->piceaContext ) {
if ( $apps->piceaContext ?? null ) {
return $apps->piceaContext;
}
}
@@ -54,6 +54,11 @@ class Lean
return array_merge(...array_map(fn($app) => $app->routes ?? [], $this->applications));
}
public function getEntities() : array
{
return array_merge(...array_map(fn($app) => $app->entities ?? [], $this->applications));
}
public function getViewPaths() : array
{
$list = array_merge(...array_map(fn($app) => $app->views ?? [], $this->applications));