PHP Classes

File: application/third_party/dompdf/autoload.inc.php

Recommend this page to a friend!
  Classes of Muhammad Yahya   PPDB Prediksi   application/third_party/dompdf/autoload.inc.php   Download  
File: application/third_party/dompdf/autoload.inc.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PPDB Prediksi
Application to manage schools in Indonesia
Author: By
Last change:
Date: 2 years ago
Size: 1,050 bytes
 

Contents

Class file image Download
<?php

/**
 * @package dompdf
 * @link http://dompdf.github.com/
 * @author Benj Carson <benjcarson@digitaljunkies.ca>
 * @author Fabien Ménager <fabien.menager@gmail.com>
 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
 */

// HMLT5 Parser
require_once __DIR__ . '/lib/html5lib/Parser.php';

// Sabberworm
spl_autoload_register(function ($class) {
    if (
strpos($class, 'Sabberworm') !== false) {
       
$file = str_replace('\\', DIRECTORY_SEPARATOR, $class);
       
$file = realpath(__DIR__ . '/lib/php-css-parser/lib/' . (empty($file) ? '' : DIRECTORY_SEPARATOR) . $file . '.php');
        if (
file_exists($file)) {
            require_once
$file;
            return
true;
        }
    }
    return
false;
});

// php-font-lib
require_once __DIR__ . '/lib/php-font-lib/src/FontLib/Autoloader.php';

//php-svg-lib
require_once __DIR__ . '/lib/php-svg-lib/src/autoload.php';


/*
 * New PHP 5.3.0 namespaced autoloader
 */
require_once __DIR__ . '/src/Autoloader.php';

Dompdf\Autoloader::register();