Some improvements in controller

v2-beta
Bruno O. Notario 6 months ago
parent 363895f330
commit b241919770
Signed by: oliveira131
GPG Key ID: 76CAD698D3EA8F58
  1. 14
      system/engine/action.php
  2. 4
      system/engine/actionsystem.php
  3. 28
      system/engine/controller.php
  4. 2
      system/engine/interfaces/action.php
  5. 2
      system/engine/interfaces/common/registers.php
  6. 5
      system/engine/interfaces/controller.php
  7. 6
      system/engine/render.php
  8. 14
      system/templateEngines/Twig/autoload.php

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -31,8 +31,10 @@ namespace Phacil\Framework\Interfaces\Common;
interface Registers {
/**
* Get an instance of this class
*
* @return $this
* @since 2.0.0
*/
static public function getInstance();

@ -19,6 +19,11 @@ interface Controller extends \Phacil\Framework\Interfaces\Common\Registers {
const TEMPLATE_AREA_THEME = 2;
const TEMPLATE_AREA_BOTH = 3;
const DEFAULT_CHILDREN = array(
"footer" => 'common/footer',
"header" => 'common/header'
);
/**
*
* {@inheritdoc}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save