classes/bfw/mvc/controller/HomeController.php
changeset 22 16ebd5c503fe
parent 11 16e5372a872e
child 25 7fddaf017915
equal deleted inserted replaced
21:4d61a248fd41 22:16ebd5c503fe
    13     /**
    13     /**
    14      * HomeController constructor.
    14      * HomeController constructor.
    15      *
    15      *
    16      */
    16      */
    17     public function __construct() {
    17     public function __construct() {
    18         $model = $this->getDataModelInstance();
    18         parent::__construct();
    19         parent::__construct($model);
       
    20     }
    19     }
    21 
    20 
    22     /**
    21     /**
    23      * Default Index Action
    22      * Default Index Action
    24      *
    23      *
    25      * Zu berücksichtigen ist hier:
       
    26      *
       
    27      * Sowohl GET-Actions als auch POST Actions werden berücksichtigt
       
    28      */
    24      */
    29     public function index() {
    25     public function index() {
    30         $request = $this->getRequest();
    26         $request = $this->getRequest();
    31         $engine = $this->getView();
    27         $view = $this->getView();
       
    28         $model = $this->getModel();
    32     }
    29     }
    33 
    30 
    34 }
    31 }