ApiShell Class Reference

Inheritance diagram for ApiShell:

Shell Object List of all members.

Public Member Functions

 __parseClass ($path)
 help ()
 initialize ()
 main ()

Public Attributes

 $paths = array()

Detailed Description

Definition at line 34 of file api.php.


Member Function Documentation

ApiShell::__parseClass ( path  ) 

Parse a given class (located on given file) and get public methods and their signatures.

Parameters:
object $File File object
string $class Class name
Returns:
array Methods and signatures indexed by method name private

Definition at line 188 of file api.php.

References $path, __(), Object::_stop(), Shell::err(), exists(), and name().

Referenced by main().

ApiShell::help (  ) 

Show help for this shell.

public

Reimplemented from Shell.

Definition at line 147 of file api.php.

References low(), and Shell::out().

Referenced by main().

ApiShell::initialize (  ) 

Override intialize of the Shell

public

Reimplemented from Shell.

Definition at line 47 of file api.php.

References cache().

ApiShell::main (  ) 

Override main() to handle action

public

Definition at line 64 of file api.php.

References $path, __(), __parseClass(), Object::_stop(), a(), camelize(), Shell::err(), help(), Shell::hr(), Shell::in(), Configure::listObjects(), Shell::out(), params(), and underscore().


Member Data Documentation

ApiShell::$paths = array()

Definition at line 41 of file api.php.


The documentation for this class was generated from the following file:
Generated on Sun Nov 22 00:30:55 2009 for CakePHP 1.2.x.x (v1.2.4.8284) by doxygen 1.4.7