Copy link to clipboard
Copied
How do you get Dreamweaver to show the functions and constants defined within a class when autoloading classes.
This will show class functions
require_once('Listings.pdo.class.php');
$li=new Listings;
$li-> (listing of class functions shown)
This will not
spl_autoload_register(function ($class_name) {
require $class_name . 'pdo.class.php';
});
$li=new Listings;
$li-> (no function list shown)
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now