REFACTORING: updated the base template with some examples, also added annotations for autocomplete in the core view and controller core.
This commit is contained in:
@@ -12,21 +12,15 @@ use Nibiru\Adapter\Controller;
|
||||
|
||||
class indexController extends Controller
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function pageAction()
|
||||
{
|
||||
View::getInstance()->assign(
|
||||
array(
|
||||
'name' => 'Beispielseite',
|
||||
'title' => 'Stephan Kasdorf - Nibiru Example',
|
||||
View::assign([
|
||||
'name' => 'rapid prototyping framework',
|
||||
'title' => 'Nibiru Example Startpage',
|
||||
'css' => Config::getInstance()->getConfig()[View::NIBIRU_SETTINGS]["smarty.css"],
|
||||
'js' => Config::getInstance()->getConfig()[View::NIBIRU_SETTINGS]["smarty.js"]
|
||||
)
|
||||
);
|
||||
]);
|
||||
}
|
||||
|
||||
public function navigationAction()
|
||||
|
||||
Reference in New Issue
Block a user