Changeset 618

Show
Ignore:
Timestamp:
04/24/07 18:38:18 (2 years ago)
Author:
mikey
Message:

finished foreign class loader example

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/examples/foreignClassLoaders/index.php

    r617 r618  
    11<?php 
     2echo 'The PHP code:<br />'; 
     3echo highlight_file(__FILE__); 
     4 
    25require '../../config/php/config.php'; 
    36require stubConfig::getLibPath() . DIRECTORY_SEPARATOR . 'stubbles.php'; 
     
    1215    public static function main() 
    1316    { 
     17        echo '<br><br>The result:<br>'; 
    1418        echo '<pre>'; 
    1519        $string = new String('foo'); 
     
    2024} 
    2125Bootstrap::main(); 
    22 echo 'The PHP code:<br />'; 
    23 echo highlight_file(__FILE__); 
    2426?> 
  • trunk/examples/index.html

    r605 r618  
    88    <ul> 
    99      <li><a href="json-rpc">Out-of-the-box AJAX with the JSON-RPC processor</a></li> 
     10      <li><a href="foreignClassLoaders">Loading classes from foreign resources with the Stubbles class loader</a></li> 
    1011    </ul> 
    1112  </body>