$value ){
if($key%2 == 0) {
$values[] = $value;
} else {
$keys[] = $value;
}
}
$page['params'] = array_combine($keys, $values);
}
//verification de l'existence de la page dans les controlleurs
$pageFile = CONTROLLERS_PATH . DIRECTORY_SEPARATOR . $page['name'] . '.php';
if(!file_exists($pageFile)){
$page['name'] = 'error';
}
$this->$page = $page;
}
}