ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilWACHeader.php
Go to the documentation of this file.
1 <?php
2 require_once('./Services/WebAccessChecker/interfaces/interface.ilWACHeaderInterface.php');
3 require_once('./Services/WebAccessChecker/classes/class.ilHTTP.php');
4 
11 
15  public function sendHeader($string, $replace = true, $http_response_code = null) {
16  header($string, $replace, $http_response_code);
17  }
18 
19 
23  public function sendStatusCode($name) {
24  ilHTTP::status($name);
25  }
26 
27 
32  public function headerExists($name) {
33  return in_array($name, headers_list());
34  }
35 
36 
40  public function getSentHeaders() {
41  return headers_list();
42  }
43 }
sendHeader($string, $replace=true, $http_response_code=null)
Class ilWACHeaderInterface.
Class ilWACHeader.
static status($status)
Add a drawing to the header
Definition: 04printing.php:69