API documentation :: Docs For Class arbitFrameworkCliTool
Packages:Interfaces:
Classes:
|
Core::arbitFrameworkCliToolClass arbitFrameworkCliToolBase class for CLI tools, implementing the basic options and out handling Base class for CLI tools, implementing the basic options and out handling
Descendants
Member Variables
Method Summary
Methods__construct
void
__construct(
)
Create cli tool and configure basic in and out handling Create cli tool and configure basic in and out handling Redefined in descendants as:
createController
arbitController
createController(
arbitRequest
$request
,
$options
)
Get controller Get controller Return controller to execute for the current command Parameters:
Redefined in descendants as:
executeRequests
void
executeRequests(
$projects
,
$options
)
Execute request for one project Execute request for one project Parameters:
getNonCommonOptions
array
getNonCommonOptions(
)
Get non-common options Get options declared by specific tool implementations, which are not the common options declared by the base tool. Get non-common options Get options declared by specific tool implementations, which are not the common options declared by the base tool. getOptions
array
getOptions(
)
Get option values Return an array with all option values, indexed by the long names of the options. Get option values Return an array with all option values, indexed by the long names of the options. getVersion
string
getVersion(
)
Return the current version Return the current version login
void
login(
arbitRequest
$request
,
$options
)
Login user Either login a default user, with full access to everything, or use the specified user to execute the request. Login user Either login a default user, with full access to everything, or use the specified user to execute the request. Parameters:
processDefaultOptions
bool
processDefaultOptions(
&$options
, array
$options
)
Process default options Handle the default options. stop afterwards, and false if the execution may continue. Process default options Handle the default options. Returns true, if the the execution should stop afterwards, and false if the execution may continue. Parameters:
Redefined in descendants as:
processOptions
bool
processOptions(
&$options
, array
$options
)
Process module options Handle the module options. stop afterwards, and false if the execution may continue. Process module options Handle the module options. Returns true, if the the execution should stop afterwards, and false if the execution may continue. Parameters:
registerDefaultOptions
void
registerDefaultOptions(
)
Register default options Register a set of default options, each arbit CLI tool should always implement. Register default options Register a set of default options, each arbit CLI tool should always implement. Redefined in descendants as:
registerOptions
void
registerOptions(
)
Register options Register a set of options, which are special for this CLI tool. left empty, if no additional options are required. Register options Register a set of options, which are special for this CLI tool. May be left empty, if no additional options are required. Redefined in descendants as:
run
void
run(
)
Run cli command Run cli command
Documentation generated on Mon, 05 Apr 2010 14:01:41 +0200 by phpDocumentor 1.4.3
|