First commit, version 0.1 beta base nibiru framework

This commit is contained in:
Stephan Kasdorf
2017-06-16 12:21:19 +02:00
parent 7d475ceb6b
commit 4bfe207b78
556 changed files with 113905 additions and 26 deletions

47
core/i/controller.php Normal file
View File

@@ -0,0 +1,47 @@
<?php
namespace Nibiru;
/**
* User - stephan
* Date - 24.01.17
* Time - 22:36
* @author - Stephan Kasdorf
* @category - [PLEASE SPECIFIY]
* @license - BSD License
*/
interface IController
{
/**
* This should be part of any extended controller
* class in order to implement a page structure
* @return array
*/
public function pageAction();
/**
* This is the part where you can add titles to
* your page navigation.
*/
public function navigationAction();
/**
* Here you can add any form data for handling in your
* controller
*
* @param bool $action
* @param string $name
* @param string $type
* @param bool $labeled
* @param array $data
*
* @return array
*/
public function formAction( $action = false, $name = <<<NAME
NAME
, $type = <<<METHOD
METHOD
, $labeled = false , $data = array()
);
}