Prepare route to auto language support

v2-beta
Bruno O. Notario 3 years ago
parent fcd8211bbd
commit 878e8034fe
Signed by: oliveira131
GPG Key ID: 76CAD698D3EA8F58
  1. 15
      system/database/autoload.php
  2. 2
      system/engine/action.php
  3. 9
      system/engine/controller.php
  4. 2
      system/engine/front.php
  5. 5
      system/engine/loader.php
  6. 6
      system/engine/registry.php
  7. 10
      system/engine/traits/action.php
  8. 41
      system/language/autoload.php
  9. 2
      system/pagination/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

File diff suppressed because one or more lines are too long

@ -28,6 +28,12 @@ final class Registry {
*/ */
public $routeOrig; public $routeOrig;
/**
*
* @var string
*/
public $route;
/** /**
* @param string $key * @param string $key
* @return mixed * @return mixed

@ -24,6 +24,12 @@ trait Action {
*/ */
protected $file; protected $file;
/**
*
* @var string
*/
private $route;
/** /**
* Storage the class to be loaded * Storage the class to be loaded
* *
@ -91,4 +97,8 @@ trait Action {
public function getArgs() { public function getArgs() {
return $this->args; return $this->args;
} }
public function getRoute() {
return $this->route;
}
} }

File diff suppressed because one or more lines are too long

@ -9,7 +9,7 @@
namespace Phacil\Framework; namespace Phacil\Framework;
/** @package Phacil\Framework */ /** @package Phacil\Framework */
final class Pagination { class Pagination {
/** /**
* *

Loading…
Cancel
Save