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,26 +0,0 @@
1
-<?php
2
-
3
-define( "TEMPLATE_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "template");
4
-define( "INCLUDE_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "include");
5
-
6
-
7
-class Vues{
8
-	
9
-	public ecran;
10
-	public block_body;
11
-	
12
-	public fonction __construct($baseControlleur){
13
-		
14
-		extract( $baseControlleur->$modele->$page );
15
-		
16
-		ob_start();
17
-		require VUE_PATH.DIRECTORY_SEPARATOR.$baseControlleur->$modele->$page['name'].php;
18
-		$this->block_body = ob_end_clean();
19
-		
20
-		ob_start();
21
-		require TEMPLATE_PATH.DIRECTORY_SEPARATOR."standart.phtml";
22
-		$this->ecran = ob_end_clean();
23
-		
24
-	}
25
-	
26
-}
27 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,26 @@
1
+<?php
2
+
3
+define( "TEMPLATE_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "template");
4
+define( "INCLUDE_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "include");
5
+
6
+
7
+class Vues{
8
+	
9
+	public ecran;
10
+	public block_body;
11
+	
12
+	public fonction __construct($baseControlleur){
13
+		
14
+		extract( $baseControlleur->$modele->$page );
15
+		
16
+		ob_start();
17
+		require VUE_PATH.DIRECTORY_SEPARATOR.$baseControlleur->$modele->$page['name'].php;
18
+		$this->block_body = ob_end_clean();
19
+		
20
+		ob_start();
21
+		require TEMPLATE_PATH.DIRECTORY_SEPARATOR."standart.phtml";
22
+		$this->ecran = ob_end_clean();
23
+		
24
+	}
25
+	
26
+}
0 27
\ No newline at end of file