PHP Classes

File: fwphp/glomodul/z_examples/OOP/reflection.php

Recommend this page to a friend!
  Classes of Slavko Srakocic   B12 PHP FW   fwphp/glomodul/z_examples/OOP/reflection.php   Download  
File: fwphp/glomodul/z_examples/OOP/reflection.php
Role: Example script
Content type: text/plain
Description: Example script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change: Update of fwphp/glomodul/z_examples/OOP/reflection.php
Date: 1 year ago
Size: 181 bytes
 

Contents

Class file image Download
<?php

$cls
= $_GET['cls'];
//require_once("Page.php");
//require_once("$cls.php"); // should be autoloader

$class = new ReflectionClass("$cls");
echo
"<pre>".$class."</pre>";

?>