Class: I2CE CLI (4.0.12)

From IHRIS Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


This article describes the class I2CE_CLI .

Variables

$blue

$black

$red

$green

$usage

$booleans

$processors

$arg_files

$processed

$values

$su_pass

Methods

__call()

  • Defined in i2ce/lib/I2CE_CLI.php on line 79
  • Signature: public function __call($method,$params)
  • Parameters:
    • $method
    • $params

_hasMethod()

  • Defined in i2ce/lib/I2CE_CLI.php on line 69
  • Signature: public function _hasMethod($method,$getFuzzy,$returnErrors)
  • Parameters:
    • $method
    • $getFuzzy
      • Default Value: false
    • $returnErrors
      • Default Value: false

addBoolean()

  • Defined in i2ce/lib/I2CE_CLI.php on line 65
  • Signature: public function addBoolean($bool,$default_val)
  • Parameters:
    • $bool
    • $default_val
      • Default Value: null

addProcessor()

  • Defined in i2ce/lib/I2CE_CLI.php on line 93
  • Signature: public function addProcessor($key,$callback)
  • Parameters:
    • $key
    • $callback

addUsage()

  • Defined in i2ce/lib/I2CE_CLI.php on line 44
  • Signature: public function addUsage($usage)
  • Parameters:
    • $usage

ask()

  • Defined in i2ce/lib/I2CE_CLI.php on line 275
  • Signature: public function ask($message,$length)
  • Parameters:
    • $message
    • $length
      • Default Value: 2000

chooseDependentTreeMenuIndices()

  • Defined in i2ce/lib/I2CE_CLI.php on line 469
  • Signature: public function chooseDependentTreeMenuIndices($msg,$options,$indices)
  • Parameters:
    • $msg
    • $options
    • $indices
      • Default Value: null

chooseMenuIndex()

  • Defined in i2ce/lib/I2CE_CLI.php on line 426
  • Signature: public function chooseMenuIndex($msg,$options)
  • Parameters:
    • $msg
    • $options

chooseMenuIndices()

  • Defined in i2ce/lib/I2CE_CLI.php on line 440
  • Signature: public function chooseMenuIndices($msg,$options)
  • Parameters:
    • $msg
    • $options

chooseMenuValue()

  • Defined in i2ce/lib/I2CE_CLI.php on line 421
  • Signature: public function chooseMenuValue($msg,$options)
  • Parameters:
    • $msg
    • $options

getArgFiles()

getPassword()

  • Defined in i2ce/lib/I2CE_CLI.php on line 286
  • Signature: public function getPassword($which,$stars)
  • Parameters:
    • $which
      • Default Value: null
    • $stars
      • Default Value: true

getSuPassword()

  • Defined in i2ce/lib/I2CE_CLI.php on line 340
  • Signature: public function getSuPassword($which)
  • Parameters:
    • $which
      • Default Value: null

getValue()

hasValue()

proccessArg_modules()

  • Defined in i2ce/lib/I2CE_CLI.php on line 184
  • Signature: protected function proccessArg_modules($val)
  • Parameters:
    • $val

proccessArg_search_dirs()

  • Defined in i2ce/lib/I2CE_CLI.php on line 176
  • Signature: protected function proccessArg_search_dirs($val)
  • Parameters:
    • $val

processArgs()

prompt()

  • Defined in i2ce/lib/I2CE_CLI.php on line 192
  • Signature: public function prompt($message,$universal,$show)
  • Parameters:
    • $message
    • &$universal
    • $show
      • Default Value: null

setValue()

  • Defined in i2ce/lib/I2CE_CLI.php on line 162
  • Signature: public function setValue($key,$value)
  • Parameters:
    • $key
    • $value

simple_prompt()

  • Defined in i2ce/lib/I2CE_CLI.php on line 238
  • Signature: public function simple_prompt($message,$show)
  • Parameters:
    • $message
    • $show
      • Default Value: null

sudo()

sudo_exec()

  • Defined in i2ce/lib/I2CE_CLI.php on line 351
  • Signature: public function sudo_exec($cmd,$output,$return_var,$su_pass)
  • Parameters:
    • $cmd
    • &$output
      • Default Value: null
    • &$return_var
      • Default Value: null
    • $su_pass
      • Default Value: null

usage()

  • Defined in i2ce/lib/I2CE_CLI.php on line 50
  • Signature: public function usage($msg,$die)
  • Parameters:
    • $msg
      • Default Value:
    • $die
      • Default Value: true

Inherited Fuzzy Methods

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()