Class BaseShellHelper

CakePHP(tm) : Rapid Development Framework (http://cakephp.org) Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)

Licensed under The MIT License For full copyright and license information, please see the LICENSE.txt Redistributions of files must retain the above copyright notice.

Direct Subclasses

Abstract
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
Link: CakePHP(tm) Project
Since: 2.8
License: MIT License
Location: Cake/Console/Helper/BaseShellHelper.php

Properties summary

Method Summary

  • __construct() public
    Constructor.
  • config() public
    Initialize config & store config values
  • output() abstract public
    This method should output content using $this->_consoleOutput.

Method Detail

__construct()source public

__construct( ConsoleOutput $consoleOutput , array $config array() )

Constructor.

Parameters

ConsoleOutput $consoleOutput
The ConsoleOutput instance to use.
array $config optional array()
The settings for this helper.

config()source public

config( null $config null )

Initialize config & store config values

Parameters

null $config optional null
Config values to set

Returns

array|

output()source abstract public

output( array $args )

This method should output content using $this->_consoleOutput.

Parameters

array $args
The arguments for the helper.

Properties detail

$_configsource

protected array

Runtime config

array()

$_configInitializedsource

protected boolean

Whether the config property has already been configured with defaults

false

$_consoleOutputsource

protected ConsoleOutput

ConsoleOutput instance.

$_defaultConfigsource

protected array

Default config for this helper.

array()

© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/2.8/class-BaseShellHelper.html