Class Exporter

(line 88)

Description


Located in File: Program_Root/Exporter.php

The Exporter

This tries to mimic a very small subset of the functionality of CPAN's Exporter.

  x export_symbol
  x export_symbols

  Synopsis:
    
    define('EXPORT_OK', 'loadModule mkInstance' );
    require_once("php_extensions.php");
    

  Example output:

     Exporting symbol 'php::loadModule' to 'global::loadModule' (type='__php_function').
     selected stub:
    
     function &loadModule() { return php::loadModule(Exporter::wrap_args(func_get_args())); }
    

     Exporting symbol 'php::mkInstance' to 'global::mkInstance' (type='__php_function').
     selected stub:
    
     function &mkInstance() { return php::mkInstance(Exporter::wrap_args(func_get_args())); }
    
 



Class Variables

Method Detail

Method create_stub_function (line 198)

void create_stub_function( mixed $target_name, mixed $source_class, mixed $source_name)

Info

Method export_symbol (line 90)

void export_symbol( [mixed $from = null], [mixed $symbol = null], [mixed $to = array()])

Info

Method export_symbols (line 180)

void export_symbols( [mixed $from = null], [mixed $symbols = array()], [mixed $to = array()])

Info

Method wrap_args (line 251)

void &wrap_args( )

Info

Inherited Variables

Inherited Class Variable Summary

Inherited Methods

Inherited Method Summary


Documentation generated on Thu, 20 Mar 2003 10:05:30 +0100 by phpDocumentor 1.2.0rc1