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 |
Dear IP-formation.
Emmanuel ROY authored on 15/04/2015 14:45:541 | 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 |