Subversion Repositories Applications.wikini

Rev

Rev 33 | Rev 36 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33 Rev 35
Line 34... Line 34...
34
	
34
	
35
	protected function envoyerErreur($e) {
35
	protected function envoyerErreur($e) {
36
		header($e->getCode());
36
		header($e->getCode());
37
		echo $e->getMessage();
37
		echo $e->getMessage();
-
 
38
	}
-
 
39
	
-
 
40
	protected function envoyerCreationEffectuee() {
-
 
41
		header('HTTP/1.1 201 Created');
-
 
42
		echo "OK";
-
 
43
	}
-
 
44
 
-
 
45
	protected function envoyerErreurServeur() {
-
 
46
		header('HTTP/1.1 500 Internal Server Error');
38
	}
47
	}
39
}
48
}
40
?>
49
?>