test2.php File Reference

Go to the source code of this file.

Variables

 $strOriginalClass
 $oReflectionCode = new CodeInstrumentationClass( "ExampleSimple" , $strOriginalClass )
 $strNewCode = $oReflectionCode->getCode()
 $objOldCode = new CodeReflectionClass( "ExampleSimple" , $strOriginalClass )
 $objNewCode = new CodeReflectionClass( "SomethingElse" , $strNewCode )


Variable Documentation

$objNewCode = new CodeReflectionClass( "SomethingElse" , $strNewCode )

Definition at line 37 of file test2.php.

$objOldCode = new CodeReflectionClass( "ExampleSimple" , $strOriginalClass )

Definition at line 36 of file test2.php.

$oReflectionCode = new CodeInstrumentationClass( "ExampleSimple" , $strOriginalClass )

Definition at line 24 of file test2.php.

$strNewCode = $oReflectionCode->getCode()

Definition at line 30 of file test2.php.

$strOriginalClass

Initial value:

 '
class ExampleSimple
{
    public function __construct()
    {
        print "i am";
    }
};
'
This test will consist into show the code of the new class based no the original class what is into a eval command

Definition at line 10 of file test2.php.


Generated on Thu Feb 3 03:55:01 2011 for CodeToDiagram by  doxygen 1.5.9