Files
nibiru-framework.com/application/controller/indexController.php
Stephan Kasdorf ca9ff28194 Update Version 0.4.0 beta 09.07.2018
- Bugfix on the form classes, now the select option is correctly set back.
- Update for the database adapter
- Improvement of the form elements, added onchange on the select boxes, the form tag now can have no element if needed.
- Implementation of the Postgres and MySQL Adapter with propper Namespacing.
- Minor bugfixing
2018-07-09 18:48:03 +02:00

36 lines
756 B
PHP

<?php
namespace Nibiru;
/**
* User - stephan
* Date - 24.01.17
* Time - 23:08
* @author - Stephan Kasdorf
* @category - [PLEASE SPECIFIY]
* @license - BSD License
*/
class indexController extends View implements IController
{
public function __construct()
{
}
public function pageAction()
{
View::getInstance()->assign(
array(
'name' => 'Beispielseite',
'title' => 'Stephan Kasdorf - Nibiru Example',
'css' => Config::getInstance()->getConfig()[View::NIBIRU_SETTINGS]["smarty.css"],
'js' => Config::getInstance()->getConfig()[View::NIBIRU_SETTINGS]["smarty.js"]
)
);
}
public function navigationAction()
{
JsonNavigation::getInstance()->loadJsonNavigationArray();
}
}