update conduit and documentation on master
This commit is contained in:
parent
3666741755
commit
7d7f0166cf
11 changed files with 172 additions and 9 deletions
|
|
@ -5,10 +5,15 @@ namespace MVC\Classe\Implement;
|
|||
|
||||
class Conduit extends Action
|
||||
{
|
||||
public function initialize($var)
|
||||
public function initialize($application)
|
||||
{
|
||||
|
||||
//extract($application->modele->page);
|
||||
foreach ($application->url->page as $key => $value) {
|
||||
$this->templateData[$key] = $value;
|
||||
}
|
||||
//Export variable from conduit
|
||||
foreach ($var as $key => $value) {
|
||||
foreach ($application->route as $key => $value) {
|
||||
if ($key != "controller") {
|
||||
if ($key != "_route") {
|
||||
$this->$key = $value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue