Overview

Packages

  • Reflection

Classes

  • Horde_Reflection
  • Horde_Reflection_CLI
  • Horde_Reflection_Html
  • Horde_Reflection_Wiki
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Reflection

The Horde_Reflection class provides reflection methods, e.g. to generate method documentation.

Based on the PEAR XML_RPC2_Server_Method class by Sergio Carvalho

Copyright 2004-2006 Sergio Gonalves Carvalho (sergio.carvalho@portugalmail.com) Copyright 2008-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Direct known subclasses

Horde_Reflection_CLI, Horde_Reflection_Html, Horde_Reflection_Wiki
Abstract
Package: Reflection
Author: Sergio Carvalho sergio.carvalho@portugalmail.com
Author: Duck duck@obala.net
Author: Jan Schneider jan@horde.org
Located at Horde/Reflection.php
Methods summary
public
# __construct( ReflectionFunction $method )

Constructor.

Constructor.

Parameters

$method
The PHP method to introspect.
abstract public string
# autoDocument( )

Returns a complete description of the method.

Returns a complete description of the method.

Returns

string
The method documentation.
public static Horde_Document
# factory( string $function, string $driver = 'Html' )

Attempts to return a concrete Horde_Document instance based on $driver.

Attempts to return a concrete Horde_Document instance based on $driver.

Parameters

$function
The method to document.
$driver
<p>The type of the concrete Horde_Document subclass to return. The class name is based on the driver. The code is dynamically included.</p>

Returns

Horde_Document

The newly created concrete Horde_Document instance, or false on an error.

API documentation generated by ApiGen