File: examples/autoload/example_locator.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Skeleton Framework  >  examples/autoload/example_locator.php  >  Download  
File: examples/autoload/example_locator.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 5 years ago
Size: 469 bytes
 

Contents

Class file image Download
<html>
<body>
<?php
include '../../A/Locator.php';

$locator = new A_Locator();
$locator->autoload();
echo
"A_Locator autoload()<br/>";

/*
$duration = new A_Datetime_Duration();
if ($duration) echo "A_Datetime_Duration autoloaded<br/>";
$bar = new Bar();
$foobar = new Foo_Bar();
*/

$bar = new Bar();
$foobar = new Foo_Bar();
$alocator = new A_Locator();
if (
class_exists('A_Locator')) {
    echo
"A_Locator autoloaded<br/>";
}
?>
</body>
</html>

For more information send a message to info at phpclasses dot org.