コード例 #1
0
ファイル: Xsl.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check XSL support
 *
 * @see http://cz2.php.net/manual/en/book.xsl.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('xsl'), 'XLS library not found');
コード例 #2
0
ファイル: Intl.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check Internationalization Functions is loaded
 *
 * @see http://php.net/manual/en/book.intl.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('intl', 'intl_error_name'), 'intl library not found');
コード例 #3
0
ファイル: Gd.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check GD library is loaded
 *
 * @see http://php.net/manual/en/book.image.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('gd', 'gd_info'), 'GD library not found');
コード例 #4
0
ファイル: Zlib.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check Zlib Compression support
 *
 * @see http://cz2.php.net/manual/en/book.zlib.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('zlib', 'gzopen'), 'zlib library not found');
コード例 #5
0
ファイル: PhpIni.php プロジェクト: wikidi/envtesting
 public static function notDisplayErrors()
 {
     Assert::true(Check::ini('display_errors', '0'), 'display_errors is ON !!!');
     return 'display_errors is OFF';
 }
コード例 #6
0
ファイル: Bzip2.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if bz2 library is loaded
 *
 * @see http://php.net/manual/en/book.bzip2.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('bz2', 'bzopen'), 'Bzip not found');
コード例 #7
0
ファイル: Tidy.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if tidy is avaliable
 *
 * @see http://php.net/manual/en/book.tidy.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('tidy'), 'Tidy');
echo 'Tidy found';
コード例 #8
0
ファイル: Wordprop.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check wordProb classes
 *
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::cls('wikidi_webDataSearch_categorizer_wordProb_Client'), 'Class "wikidi_webDataSearch_categorizer_wordProb_Client" not found');
\envtesting\Assert::true(\envtesting\Check::cls('wikidi_webDataSearch_categorizer_wordProb_ClientFactory'), 'Class "wikidi_webDataSearch_categorizer_wordProb_ClientFactory" not found');
コード例 #9
0
ファイル: Mysql.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if Original MySQL API is loaded
 *
 * @see http://php.net/manual/en/book.mysql.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('mysql', 'mysql_info'), 'mysql library not found');
コード例 #10
0
ファイル: Memcache.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if memcache is loaded
 *
 * @see http://php.net/manual/en/book.memcache.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('memcache'), 'memcache library not found');
echo 'memcache found';
コード例 #11
0
ファイル: Sphinx.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if Sphinx Client is supported
 *
 * @see http://php.net/manual/en/book.sphinx.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::cls('SphinxClient'), 'SphinxClient class not found');
コード例 #12
0
ファイル: Gettext.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check Gettext is loaded
 *
 * @see http://php.net/manual/en/book.gettext.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('gettext', 'gettext'), 'Gettext library not found');
echo 'Gettext found';
コード例 #13
0
ファイル: Curl.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if curl library is loaded
 *
 * @see http://php.net/manual/en/book.curl.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('curl', 'curl_init'), 'Curl not found');
コード例 #14
0
ファイル: SimpleXML.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if SimpleXml is supported
 *
 * @see http://php.net/manual/en/book.pdo.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('simplexml'), 'Simplexml library not found');
コード例 #15
0
ファイル: Apc.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if APC library is loaded
 *
 * @see http://php.net/manual/en/book.apc.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::lib('apc', 'apc_inc'), 'APC not found');
echo 'APC found';
コード例 #16
0
ファイル: Pdo.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if PHP Data Objects (PDO) exists
 *
 * @see http://php.net/manual/en/book.pdo.php
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::cls('PDO'), 'PDO class not found');
echo 'PDO found';
コード例 #17
0
ファイル: Fann.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if fann server is loaded
 *
 * @author Roman Ozana <*****@*****.**>
 */
\envtesting\Assert::true(\envtesting\Check::cls('fann\\clients\\ServerProxy'), 'Fann class fann\\clients\\ServerProxy not exists');
コード例 #18
0
ファイル: Mongo.php プロジェクト: wikidi/envtesting
<?php

namespace envtests\library;

/**
 * Check if MongoDB Native Driver is loaded
 *
 * @see http://php.net/manual/en/book.mongo.php
 * @author Roman Ozana <*****@*****.**>
 */
use envtesting\Assert;
use envtesting\Check;
Assert::true(Check::cls('MongoDB'), 'MongoDB class not found');
echo 'mongo found';