__construct で変数を定義しようとすると、まだ未定義の変数のエラーが表示されます。手伝ってくれる?
<?php
class view {
public $model;
function __construct($url,$root,$model,$common_model,$common_view,$alt_root,$it_selected,$hr_selected,$finance_selected) {
$this->it_selected = $it_selected;
$this->hr_selected = $hr_selected;
$this->finance_selected = $finance_selected;
$this->url = $url;
$this->model = $model;
$this->common_model = $common_model;
$this->common_view = $common_view;
$this->root = $root;
$this->alt_root = $alt_root;
$this->loader();
}
私はまだit_selected、hr_selected、finance_selectedが定義されていないことを受け取ります。