Login   Register  
PHP Classes
elePHPant
Icontem

File: classes/Transfer/index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tom Schaefer  >  QTransfer  >  classes/Transfer/index.php  >  Download  
File: classes/Transfer/index.php
Role: Auxiliary script
Content type: text/plain
Description: autoloader
Class: QTransfer
Send HTTP requests and process XML responses
Author: By
Last change:
Date: 2009-05-16 07:16
Size: 360 bytes
 

Contents

Class file image Download
<?php

function transferAutoload($class) {
    if (
substr($class0strlen("Transfer_")) === 'Transfer_') {
        include 
dirname(__FILE__).DIRECTORY_SEPARATOR.strtr(substr($classstrlen("Transfer_")), '_'DIRECTORY_SEPARATOR).'.php';
    }
}
spl_autoload_register('transferAutoload');
set_include_path(get_include_path().PATH_SEPARATOR.realpath(dirname(__FILE__)));