47 lines
894 B
PHP
47 lines
894 B
PHP
<?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()
|
|
);
|
|
|
|
} |