コード例 #1
0
 /**
  * Class constructor
  *
  * @since   1.0
  * @param   array $list               Value to set for "B"
  * @param   mixed &$refTest           A referenced variable
  * @param   Iterator $classHintTest   An iterateable instance
  *                                    Two line comment test
  */
 public function __construct(array $list, $stuff, &$refTest = null, \Iterator $classHintTest = null)
 {
     parent::__construct($list);
     $this->stuff = $list;
     $this->pubVarB = $this;
     $this->currentDate = \DateTime::createFromFormat('U', time(), new \DateTimeZone('Europe/London'));
     if (extension_loaded('gd')) {
         $this->image = imagecreate(1, 1);
     }
     if (extension_loaded('curl')) {
         $curl = curl_init();
         curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
         curl_setopt($curl, CURLOPT_URL, 'http://localhost');
         curl_setopt($curl, CURLOPT_HEADER, 0);
         curl_exec($curl);
         $this->curl = $curl;
     }
     $this->jsonString = json_encode($this->currentDate);
 }
コード例 #2
0
 public function __construct()
 {
     parent::__construct("Client Browser", "Current client " . $_SERVER['HTTP_USER_AGENT']);
 }
コード例 #3
0
ファイル: test.PHP_APC.php プロジェクト: floffel03/pydio-core
 public function __construct()
 {
     parent::__construct("PHP APC extension", "Pydio framework loads a lot of PHP files at each query, and using a PHP accelerator is greatly recommanded.");
 }
コード例 #4
0
 public function __construct()
 {
     parent::__construct("Exif Extension enabled", "Installing php-exif extension is recommended if you plan to handle images");
 }
コード例 #5
0
 public function __construct()
 {
     parent::__construct("SSL Encryption", "You are not using SSL encryption, or it was not detected by the server. Be aware that it is strongly recommended to secure all communication of data over the network.");
 }
コード例 #6
0
 public function __construct()
 {
     parent::__construct(self::$testKey, "You should enable php file_uploads parameter for uploading files with Pydio.");
 }
コード例 #7
0
 public function __construct()
 {
     parent::__construct("PHP version", "Minimum required version is PHP 5.4.0");
 }
コード例 #8
0
ファイル: test.fsAccess.php プロジェクト: rbrdevs/pydio-core
 public function __construct()
 {
     parent::__construct("Filesystem Plugin", "");
 }
コード例 #9
0
 public function __construct()
 {
     parent::__construct("MCrypt enabled", "MCrypt is required by all security functions.");
 }
コード例 #10
0
 public function __construct()
 {
     parent::__construct("Pydio version", "Version : " . AJXP_VERSION);
 }
コード例 #11
0
ファイル: SimpleTest.php プロジェクト: lavoiesl/php-benchmark
 public function __construct($name, \Closure $execute)
 {
     parent::__construct($name);
     $this->execute = $execute;
 }
コード例 #12
0
 public function __construct($name, $cmd)
 {
     parent::__construct($name);
     $this->execute = $cmd;
 }
コード例 #13
0
 public function __construct()
 {
     parent::__construct("Magic quotes disabled", "Magic quotes need to be disabled, only relevent for php 5.3");
 }
コード例 #14
0
 public function __construct()
 {
     parent::__construct("DOM Xml enabled", "Dom XML is required, you may have to install the php-xml extension.");
 }
コード例 #15
0
ファイル: test.Zlib.php プロジェクト: floffel03/pydio-core
 public function __construct()
 {
     parent::__construct("Zlib extension (ZIP)", "Extension enabled : " . (function_exists('gzopen') || function_exists('gzopen64') ? "1" : "0"));
 }
コード例 #16
0
 public function __construct()
 {
     parent::__construct("Server charset encoding", "You must set a correct charset encoding\n        in your locale definition in the form: en_us.UTF-8. Please refer to setlocale man page.\n        If your detected locale is C, simply type echo \$LANG on your server command line to read the correct value.");
 }
コード例 #17
0
 public function __construct()
 {
     parent::__construct("PHP Limits variables", "<b>Testing configs</b>");
 }
コード例 #18
0
 public function __construct()
 {
     parent::__construct("Upload particularities", "<b>Testing configs</b>");
 }
コード例 #19
0
 public function __construct()
 {
     parent::__construct("PHP operating system", "Current operating system " . PHP_OS);
 }
コード例 #20
0
 public function __construct()
 {
     parent::__construct("PHP error level", PHPErrorLevel::error2string(error_reporting()));
 }
コード例 #21
0
 public function __construct()
 {
     parent::__construct("Users Configuration", "Current config for users");
 }
コード例 #22
0
ファイル: test.PHP_INTL.php プロジェクト: Nanomani/pydio-core
 public function __construct()
 {
     parent::__construct("PHP INTL extension", "Pydio used intl to localize month names.");
 }
コード例 #23
0
 public function __construct()
 {
     parent::__construct("PHP Session", "<b>Testing configs</b>");
 }
コード例 #24
0
 public function __construct()
 {
     parent::__construct("PHP Output Buffer disabled", "You should disable php output_buffering parameter for better performances with Pydio.");
 }
コード例 #25
0
 public function __construct()
 {
     parent::__construct("Required writeable folder", "One of the following folder should be writeable and is not : ");
 }
コード例 #26
0
 public function __construct()
 {
     parent::__construct("PHP Command Line", "Testing PHP command line (default is php)");
 }
コード例 #27
0
 public function __construct()
 {
     parent::__construct("PHP GD version", "GD is required for generating thumbnails");
 }