Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
CmdTrait Class Reference
+ Inheritance diagram for CmdTrait:

Static Protected Member Functions

static parseArguments ()
 
static getOption ($options, $option, $longOption, $default=NULL)
 
static getOptionArray ($options, $option, $longOption, $default=NULL)
 
static getBooleanOption ($options, $option, $longOption, $default=NULL)
 
static hasOption ($options, $option, $longOption)
 
static requiredParam ($what, $paramName)
 
static answerModel ($options, $option, $longOption, $part, $config)
 
static getCompleteClassname ($config, $classname, $type='models')
 
static getSelectedModels ($models, $config)
 
static updateDomain ($options)
 

Detailed Description

Definition at line 11 of file CmdTrait.php.

Member Function Documentation

◆ answerModel()

static answerModel (   $options,
  $option,
  $longOption,
  $part,
  $config 
)
staticprotected

Definition at line 102 of file CmdTrait.php.

◆ getBooleanOption()

static getBooleanOption (   $options,
  $option,
  $longOption,
  $default = NULL 
)
staticprotected

Definition at line 67 of file CmdTrait.php.

◆ getCompleteClassname()

static getCompleteClassname (   $config,
  $classname,
  $type = 'models' 
)
staticprotected

Definition at line 118 of file CmdTrait.php.

◆ getOption()

static getOption (   $options,
  $option,
  $longOption,
  $default = NULL 
)
staticprotected

Definition at line 47 of file CmdTrait.php.

◆ getOptionArray()

static getOptionArray (   $options,
  $option,
  $longOption,
  $default = NULL 
)
staticprotected

Definition at line 59 of file CmdTrait.php.

◆ getSelectedModels()

static getSelectedModels (   $models,
  $config 
)
staticprotected

Definition at line 127 of file CmdTrait.php.

◆ hasOption()

static hasOption (   $options,
  $option,
  $longOption 
)
staticprotected

Definition at line 85 of file CmdTrait.php.

◆ parseArguments()

static parseArguments ( )
staticprotected

Definition at line 13 of file CmdTrait.php.

◆ requiredParam()

static requiredParam (   $what,
  $paramName 
)
staticprotected

Definition at line 89 of file CmdTrait.php.

◆ updateDomain()

static updateDomain (   $options)
staticprotected

Definition at line 142 of file CmdTrait.php.


The documentation for this class was generated from the following file: