Horde_Test::__construct PHP Method

__construct() public method

Constructor.
public __construct ( )
    public function __construct()
    {
        /* Store the PHP version information. */
        $this->_phpver = $this->_splitPhpVersion(PHP_VERSION);
        /* We want to be as verbose as possible here. */
        error_reporting(E_ALL);
        /* Set character encoding. */
        header('Content-type: text/html; charset=UTF-8');
        header('Vary: Accept-Language');
    }

Usage Example

示例#1
0
文件: Test.php 项目: horde/horde
 /**
  */
 public function __construct()
 {
     parent::__construct();
     $this->_fileList += array('config/backends.php' => null, 'config/mime_drivers.php' => null, 'config/prefs.php' => null);
 }
All Usage Examples Of Horde_Test::__construct