Login   Register  
PHP Classes
elePHPant
Icontem

File: example_of_usage.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Carlo Tasca  >  packagex  >  example_of_usage.php  >  Download  
File: example_of_usage.php
Role: Example script
Content type: text/plain
Description: Contains an example of usage
Class: packagex
Load multiple class with Java-like import commands
Author: By
Last change:
Date: 2008-02-23 14:29
Size: 275 bytes
 

Contents

Class file image Download
<?
include_once("packagex/Package.class.php");
$package = new Package();
$package->import('packagex.classes.*');
$package->import('packagex.classes.util.ClassC');
$package->loadClasses("");

$classA = new ClassA();
$classB = new ClassB();
$classB = new ClassC();
?>