setHTMLHeader() public method

This method set the HTML header used for all outputs.
public setHTMLHeader ( string $header ) : void
$header string the HTML header.
return void
Exemplo n.º 1
0
 /**
  * This method sets the HTML header used for all outputs.
  *
  * @param string $header the HTML header.
  *
  * @return void
  */
 public static function setHTMLHeader($header)
 {
     phpCAS::_validateClientExists();
     try {
         self::$_PHPCAS_CLIENT->setHTMLHeader($header);
     } catch (Exception $e) {
         phpCAS::error(get_class($e) . ': ' . $e->getMessage());
     }
 }