File: index.php

Recommend this page to a friend!
  Classes of Gombos Lorand  >  PHPIncluder  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: index
Class: PHPIncluder
Include PHP scripts automatically
Author: By
Last change: New features:
Depth search
Import type -Strategy
Subdir import
Date: 12 years ago
Size: 780 bytes


Class file image Download
include_once 'includer.class.php';
$includer = new Includer();
//$includer->addBlacklist("level3.php");//add item in blacklist(array, or string)
//$includer->addWhitelist("level3.php");//add item in whitelist(array, or string)
//$includer->emptyWhitelist(); //empty whitelist
//$includer->emptyBlacklist(); //empty blacklisy
$includer->setSortByDepth(TRUE); // enable depth sorting
$includer->setType(Includer::I_ONCE); //define import type Ex: Includer::R_ONCE
/*set the subdir properti, if false the script
not import files in subdirectorys*/
$includer->Import('classes');//define the root import directory

For more information send a message to info at phpclasses dot org.