PHP Class Components_Output, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Show file Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( Horde_Cli $cli, array $options ) Constructor.
blue ( $text )
bold ( $text )
fail ( $text )
green ( $text )
help ( $text )
info ( $text )
isQuiet ( )
isVerbose ( )
log ( $status, $text )
ok ( $text )
pear ( $text )
plain ( $text )
warn ( $text )
yellow ( $text )

Private Methods

Method Description
_getType ( string $type ) : string Modify the type for the --nocolor switch.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Cli $cli, array $options )
$cli Horde_Cli The CLI handler.
$options array The configuration for the current job.

blue() public method

public blue ( $text )

bold() public method

public bold ( $text )

fail() public method

public fail ( $text )

green() public method

public green ( $text )

help() public method

public help ( $text )

info() public method

public info ( $text )

isQuiet() public method

public isQuiet ( )

isVerbose() public method

public isVerbose ( )

log() public method

public log ( $status, $text )

ok() public method

public ok ( $text )

pear() public method

public pear ( $text )

plain() public method

public plain ( $text )

warn() public method

public warn ( $text )

yellow() public method

public yellow ( $text )