- 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
36 lines
756 B
PHP
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();
|
|
}
|
|
} |