Exemple #1
0
 public function __construct(AccountOrderModel $model)
 {
     parent::__construct($model);
     $this->model = $model;
 }
Exemple #2
0
<?php

/**
 * Created by PhpStorm.
 * User: Home
 * Date: 29.11.2015
 * Time: 19:04
 */
include_once $_SERVER['DOCUMENT_ROOT'] . '/Model/AccountOrderModel.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/Controllers/AccountOrderController.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/View/AccountOrderView.php';
$model = new AccountOrderModel();
$controller = new AccountOrderController($model);
$view = new AccountOrderView($model);
$controller->actionGetData();
$view->getAccountOrderPage();