cliCommandList

Will list items of the type, where type is defined in the command chain. e.g. list could be for databases, tables, sites or users etc. This is similar to the following commands:

$oApp = new cliApplication('example', 'A simple example.');
$oRequest = cliRequest::getInstance()->setApplication($oApp);
$oApp->getCommandChain()
    ->addCommand(
        new cliCommandList(
            $oRequest, new cliCommandChain(
                array(
                    // your list commands
                )
            )
        )
    )
$oApp->execute($oRequest);

Methods

public __construct($inRequest, $inChain)

Creates a new list command

public execute()

Executes the command


Inherited Methods

<  1  >