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

Class: PHP_Shell_Extensions_AutoloadDebug

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

Class Overview


Autoload debugging


Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 17]
Autoload debugging

The internal __autoload() function of the shell-wrapper has two hooks. The first is called before the include is done, the second afterwards.

we use it to track the order the includes are handled. That makes it easier to find implicit dependency problems.

:set autoloaddebug = on :set autoloaddebug = off

the depth functions track the recursive depth of the includes. The wrapper uses it to print the dots at the beginning of the line.



[ Top ]


Class Variables

$autoload_debug =  false

[line 23]

is the extenion enabled
  • Access: protected

Type:   bool


[ Top ]

$autoload_depth =  0

[line 30]

recursive depth of the includes
  • Access: protected

Type:   int


[ Top ]



Method Detail

decAutoloadDepth   [line 80]

void decAutoloadDepth( )

decrement the depth counter
  • Access: public

[ Top ]

incAutoloadDepth   [line 73]

void incAutoloadDepth( )

increment the depth counter
  • Access: public

[ Top ]

isAutoloadDebug   [line 66]

bool isAutoloadDebug( )

is the autoload-debug flag set ?
  • Return: true if debug is enabled
  • Access: public

[ Top ]

optSetAutoloadDebug   [line 42]

void optSetAutoloadDebug( string $key, $value)

handle the autoloaddebug flag
  • Access: public

Parameters:

string   $key   — 
   $value   — 

[ Top ]

register   [line 32]

void register( )

  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:40:32 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.