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

Class: PHP_Shell_Extensions_VerbosePrint

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

Class Overview


PHP_Shell_Extensions_VerbosePrint


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2006 Jan Kneschke

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 27]
PHP_Shell_Extensions_VerbosePrint


[ Top ]


Class Variables

$oneshot_verbose =  false

[line 30]

  • Access: protected

Type:   mixed


[ Top ]

$opt_verbose =  false

[line 29]

  • Access: protected

Type:   mixed


[ Top ]



Method Detail

cmdPrint   [line 62]

string cmdPrint( string $l)

handle the 'p ' command

set the verbose flag

  • Return: the pure command-string without the 'p ' command
  • Access: public

Parameters:

string   $l   —  Line

[ Top ]

isVerbose   [line 98]

bool isVerbose( )

check if we have a verbose print-out
  • Return: 1 if verbose, 0 otherwise
  • Access: public

[ Top ]

optSetVerbose   [line 79]

void optSetVerbose( string $key, string $value)

Set verbose
  • Access: public

Parameters:

string   $key   —  Unused
string   $value   —  One of 'false', 'on', etc

[ Top ]

register   [line 37]

void register( )

Register a command
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:46:52 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.