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

Class: PHP_Shell_Extensions

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

Class Overview


storage class for Shell Extensions


Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 24]
storage class for Shell Extensions


[ Top ]


Class Variables

$exts = array()

[line 35]

storage for the extension
  • Access: protected

Type:   array


[ Top ]

$instance =

[line 28]

  • Access: protected

Type:   PHP_Shell_Extensions


[ Top ]



Method Detail

getInstance   [line 77]

object a getInstance( )

  • Return: singleton of the class

[ Top ]

registerExtension   [line 68]

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 56]

void registerExtensions( array $exts)

register set of extensions
  • Access: public

Parameters:

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

[ Top ]

__get   [line 44]

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, 11 Mar 2019 14:40:32 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.