Previous Page
_getOptionSettings()

Solar_Cli_Help
_out()

Next Page
_outln()

_out()

protected void _out ( string $text default NULL, mixed $num default 1, array $replace default NULL )

Prints text to STDOUT without a trailing newline.

Inherited from Solar_Controller_Command.

Parameters

  • (string) $text: The text to print to STDOUT, usually a translation key.
  • (mixed) $num: Helps determine whether to get a singular or plural translation.
  • (array) $replace: An array of replacement values for the string.

Returns

  • (void)

Description

Prints text to STDOUT without a trailing newline.

If the text is a locale key, that text will be used instead.

Automatically replaces style-format codes for VT100 shell output.