ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilWACHeader Class Reference

Class ilWACHeader. More...

+ Inheritance diagram for ilWACHeader:
+ Collaboration diagram for ilWACHeader:

Public Member Functions

 sendHeader ($string, $replace=true, $http_response_code=null)
 
 sendStatusCode ($name)
 
 headerExists ($name)
 
 getSentHeaders ()
 

Detailed Description

Class ilWACHeader.

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 10 of file class.ilWACHeader.php.

Member Function Documentation

◆ getSentHeaders()

ilWACHeader::getSentHeaders ( )
Returns
array

Implements ilWACHeaderInterface.

Definition at line 40 of file class.ilWACHeader.php.

40  {
41  return headers_list();
42  }

◆ headerExists()

ilWACHeader::headerExists (   $name)
Parameters
$name
Returns
bool

Implements ilWACHeaderInterface.

Definition at line 32 of file class.ilWACHeader.php.

32  {
33  return in_array($name, headers_list());
34  }

◆ sendHeader()

ilWACHeader::sendHeader (   $string,
  $replace = true,
  $http_response_code = null 
)
Parameters
$string

Implements ilWACHeaderInterface.

Definition at line 15 of file class.ilWACHeader.php.

References header.

15  {
16  header($string, $replace, $http_response_code);
17  }
Add a drawing to the header
Definition: 04printing.php:69

◆ sendStatusCode()

ilWACHeader::sendStatusCode (   $name)
Parameters
$name

Implements ilWACHeaderInterface.

Definition at line 23 of file class.ilWACHeader.php.

References ilHTTP\status().

23  {
24  ilHTTP::status($name);
25  }
static status($status)
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: