PHP Classes

File: example_of_usage.php

Recommend this page to a friend!
  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: 16 years ago
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();
?>