CAS_Client::setHTMLFooter PHP Method

setHTMLFooter() public method

This method set the HTML footer used for all outputs.
public setHTMLFooter ( string $footer ) : void
$footer string the HTML footer.
return void
    public function setHTMLFooter($footer)
    {
        // Argument Validation
        if (gettype($footer) != 'string') {
            throw new CAS_TypeMismatchException($footer, '$footer', 'string');
        }
        $this->_output_footer = $footer;
    }

Usage Example

示例#1
0
文件: CAS.php 项目: DCUnit711/Demeter
 /**
  * This method sets the HTML footer used for all outputs.
  *
  * @param string $footer the HTML footer.
  *
  * @return void
  */
 public static function setHTMLFooter($footer)
 {
     phpCAS::_validateClientExists();
     try {
         self::$_PHPCAS_CLIENT->setHTMLFooter($footer);
     } catch (Exception $e) {
         phpCAS::error(get_class($e) . ': ' . $e->getMessage());
     }
 }
CAS_Client