Back to Joomla project (class list)

Class Cli - list of methods

Joomla! Input CLI Class

Extends

Package: Joomla\CMS\Input
Copyright: (C) 2011 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Input/Cli.php
Project: Joomla

Method Summary

public
(array $source = null, array $options = array())

Constructor.
Parameters
  • array $source Source data (Optional, default is $_REQUEST )
  • array $options Array of configuration parameters (Optional)
Since
  • 1.7.0
Deprecated
  • 5.0
Show source code of this method: __construct Source Code

public string
()

Method to serialize the input.
Returns
  • string The serialized input.
Since
  • 3.0.0
Deprecated
  • 5.0
Show source code of this method: serialize Source Code

public \Joomla\CMS\Input\Input
(mixed $input)

Method to unserialize the input.
Parameters
  • string $input The serialized input.
Returns
  • \Joomla\CMS\Input\Input The input object.
Since
  • 3.0.0
Deprecated
  • 5.0
Show source code of this method: unserialize Source Code

protected void
()

Initialise the options and arguments
Returns
  • void
Since
  • 1.7.0
Deprecated
  • 5.0
Show source code of this method: parseArguments Source Code

Properties Summary

public string
$executable
The executable that was called to run the CLI script.
Since
  • 1.7.0
-
  • string
public array
$args
The additional arguments passed to the script that are not associated with a specific argument name.
Since
  • 1.7.0
-
  • array

Tags Summary

Since
1.7.0
Deprecated
5.0
Use the `joomla/console` package instead