PHP Classes

File: tests/bootstrap.php

Recommend this page to a friend!
  Classes of Matous Nemec   PHP Filter Data Component   tests/bootstrap.php   Download  
File: tests/bootstrap.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Filter Data Component
Filter data got from a database or other sources
Author: By
Last change:
Date: 2 years ago
Size: 1,494 bytes
 

Contents

Class file image Download
<?php

require_once __DIR__ . '/../vendor/autoload.php';

require_once
__DIR__ . '/../src/Mesour/Filter/IFilter.php';
require_once
__DIR__ . '/../src/Mesour/Filter/ISimpleFilter.php';
require_once
__DIR__ . '/../src/Mesour/Filter/IFilterItem.php';
require_once
__DIR__ . '/../src/Mesour/UI/Filter.php';
require_once
__DIR__ . '/../src/Mesour/UI/SimpleFilter.php';
require_once
__DIR__ . '/../src/Mesour/Filter/FilterItem.php';
require_once
__DIR__ . '/../src/Mesour/Filter/Text.php';
require_once
__DIR__ . '/../src/Mesour/Filter/Date.php';
require_once
__DIR__ . '/../src/Mesour/Filter/Number.php';
require_once
__DIR__ . '/../src/Mesour/Filter/Sources/Search/SearchPatternsHelper.php';
require_once
__DIR__ . '/../src/Mesour/Filter/Sources/IFilterSource.php';
require_once
__DIR__ . '/../src/Mesour/Filter/Sources/ArrayFilterSource.php';
require_once
__DIR__ . '/../src/Mesour/Filter/Sources/DoctrineFilterSource.php';
require_once
__DIR__ . '/../src/Mesour/Filter/Sources/NetteDbFilterSource.php';
require_once
__DIR__ . '/../src/Mesour/Filter/Sources/SQLHelper.php';
require_once
__DIR__ . '/../src/Mesour/Filter/Sources/DateFunction.php';

if (!
class_exists('Tester\Assert')) {
    echo
"Install Nette Tester using `composer update --dev`\n";
    exit(
1);
}
@
mkdir(__DIR__ . "/log");
@
mkdir(__DIR__ . "/tmp");

define("TEMP_DIR", __DIR__ . "/tmp/");

Tester\Environment::setup();

function
pdump($val)
{
   
Tracy\Debugger::$productionMode = false;
   
call_user_func_array('dump', func_get_args());
}