PHP_Shell
[ class tree: PHP_Shell ] [ index: PHP_Shell ] [ all elements ]

Class: PHP_Shell_Extensions

Source Location: /PHP_Shell-0.3.2/PHP/Shell/Extensions.php

Class Overview


storage class for Shell Extensions


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2006 Jan Kneschke

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 70]
storage class for Shell Extensions

examples:

  • execution time for parsing and execute
  • colours for the output
  • inline help



[ Top ]


Class Variables

$exts = array()

[line 82]

storage for the extension
  • Access: protected

Type:   array


[ Top ]

$instance =

[line 75]

  • Access: protected



[ Top ]



Method Detail

getInstance   [line 134]

object a getInstance( )

Factory
  • Return: singleton of the class

[ Top ]

registerExtension   [line 122]

void registerExtension( string $k, PHP_Shell_Extension $obj)

register a single extension
  • Access: public

Parameters:

string   $k     name of the registered extension
PHP_Shell_Extension   $obj     the extension object

[ Top ]

registerExtensions   [line 107]

void registerExtensions( array $exts)

register set of extensions
  • Access: public

Parameters:

array   $exts     set of (name, class-name) pairs

[ Top ]

__get   [line 92]

PHP_Shell_Extension __get( string $key)

the extension object gives access to the register objects through the a simple $exts->name->...
  • Return: object handle
  • Access: public

Parameters:

string   $key     registered name of the extension

[ Top ]


Documentation generated on Mon, 12 Dec 2011 23:00:07 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.