Login   Register  
PHP Classes
elePHPant
Icontem

File: TestNamespace2/TestClass2.nsim.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Martin Alterisio  >  NamespaceSim  >  TestNamespace2/TestClass2.nsim.php  >  Download  
File: TestNamespace2/TestClass2.nsim.php
Role: Example script
Content type: text/plain
Description: nsim'ed example class
Class: NamespaceSim
Emulate class namespaces under PHP 5
Author: By
Last change: Version 0.4
Date: 2007-07-08 15:18
Size: 263 bytes
 

Contents

Class file image Download
<?php
/**
 * @ignore
 * @package ignore
 */

package TestNamespace2;

require_once 
'NotSimulated/TestClass3.php';

/**
 * @ignore
 */
class TestClass2 {
    function 
__construct($test) {
        
NotSimulated_TestClass3::test($test);
    }
}
?>