Vous êtes connecté en tant que anonymous Se Deconnecter
Browse code

Version fonctionnelle de base

Emmanuel ROY authored on 13/06/2017 22:54:16
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,18 +0,0 @@
1
-<?php
2
-
3
-class Modeles{
4
-	
5
-	public $page;
6
-	
7
-	public fonction __construct($base_param){
8
-		
9
-		if(file_exists(MODELS_PATH.DIRECTORY_SEPARATOR.$page_param['name'].php)){
10
-			include MODELS_PATH.DIRECTORY_SEPARATOR.$page_param['name'].php;
11
-		}else{
12
-			$this->$page['name'] = $base_param['name'];
13
-			$this->$page['descriptin'] = $base_param['descriptin'];
14
-			$this->$page['params'] = $base_param['params'];
15
-		}
16
-	}
17
-	
18
-}
19 0
\ No newline at end of file
Browse code

Nouvelle version faite en une matinée Dommage de ne pas retrouver l'ancienne

Dear IP-formation.

Emmanuel ROY authored on 15/04/2015 14:45:54
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,18 @@
1
+<?php
2
+
3
+class Modeles{
4
+	
5
+	public $page;
6
+	
7
+	public fonction __construct($base_param){
8
+		
9
+		if(file_exists(MODELS_PATH.DIRECTORY_SEPARATOR.$page_param['name'].php)){
10
+			include MODELS_PATH.DIRECTORY_SEPARATOR.$page_param['name'].php;
11
+		}else{
12
+			$this->$page['name'] = $base_param['name'];
13
+			$this->$page['descriptin'] = $base_param['descriptin'];
14
+			$this->$page['params'] = $base_param['params'];
15
+		}
16
+	}
17
+	
18
+}
0 19
\ No newline at end of file