REFACTORING: new autoloading functionallity, the modules are now structured for a better overview and module and visibility. Now the modules can also be used for bigger systems, but still are light weight.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace Nibiru\Adapter;
|
||||
namespace Nibiru\Module\Users\Interfaces;
|
||||
/**
|
||||
* @desc this file is for the autoloader to function properly,
|
||||
* you might as well use it as the primary user interface for your
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace Nibiru\Messages;
|
||||
namespace Nibiru\Module\Users\Traits;
|
||||
/**
|
||||
* @desc this file is for the autoloader to function properly,
|
||||
* you might as well use it as the primary user trait for your
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace Nibiru\Module;
|
||||
namespace Nibiru\Module\Users;
|
||||
/**
|
||||
* @desc this file is for the autoloader to function properly,
|
||||
* you might as well use it as the primary user class for your
|
||||
@@ -9,10 +9,10 @@ namespace Nibiru\Module;
|
||||
* Date: 28.08.18
|
||||
* Time: 11:22
|
||||
*/
|
||||
use Nibiru\Adapter;
|
||||
use Nibiru\Messages;
|
||||
use Nibiru\Module\Users\Interfaces;
|
||||
use Nibiru\Module\Users\Traits;
|
||||
|
||||
class Users implements Adapter\Users
|
||||
class Users implements Interfaces\Users
|
||||
{
|
||||
use Messages\Users;
|
||||
use Traits\Users;
|
||||
}
|
||||
@@ -26,9 +26,9 @@ register.text = "PATHTOYOURHTMLTEMPLATE"
|
||||
pageurl = "YOURPAGEURLWITHPROTOCOL"
|
||||
navigation = "navigation.json"
|
||||
dbmodel = "/../../application/model/"
|
||||
module = "/../../application/module/"
|
||||
interfaces = "/../../application/interfaces/"
|
||||
trait = "/../../application/trait/"
|
||||
module = "/../../application/module/[NAME]"
|
||||
interfaces = "/../../application/module/[NAME]/interfaces/"
|
||||
traits = "/../../application/module/[NAME]/traits/"
|
||||
entriesperpage = 4
|
||||
background.img[] = "public/img/nibiru3.jpg"
|
||||
smarty.css[] = "public/css/v3/roboto.css"
|
||||
|
||||
Reference in New Issue
Block a user