Setup_Frontend_Cli
cli server
This class handles all requests from cli scripts
Extend:
Tinebase_Frontend_Cli_Abstract
Methods
| Name | Description |
|---|---|
| __construct | |
| _migrateUtf8mb4 | |
| authenticate | authentication |
| handle | handle request (call -ApplicationName-_Cli.-MethodName- or -ApplicationName-_Cli.getHelp) |
| parseConfigValue | parse options |
Inherited methods
| Name | Description |
|---|---|
| createContainer | add container |
| createDemoData | create demo data |
| getHelp | echos usage information |
| importegw14 | import from egroupware |
| setContainerGrants | set container grants |
| setContainerGrantsHelper | set containers grants helper |
| setContainerGrantsReadOnly | setContainerGrantsReadOnly |
| updateImportExportDefinition | update or create import/export definition |
Setup_Frontend_Cli::__construct
Description
__construct (void)
Parameters
This function has no parameters.
Return Values
void
Setup_Frontend_Cli::_migrateUtf8mb4
Description
_migrateUtf8mb4 (void)
Parameters
This function has no parameters.
Return Values
void
Setup_Frontend_Cli::authenticate
Description
public authenticate (string $_username, string $_password)
authentication
Parameters
(string) $_username(string) $_password
Return Values
bool
Setup_Frontend_Cli::handle
Description
public handle (\Zend_Console_Getopt $_opts, bool $exitAfterHandle)
handle request (call -ApplicationName-_Cli.-MethodName- or -ApplicationName-_Cli.getHelp)
Parameters
(\Zend_Console_Getopt) $_opts(bool) $exitAfterHandle
Return Values
int
Setup_Frontend_Cli::parseConfigValue
Description
public static parseConfigValue (string $_value)
parse options
Parameters
(string) $_value
Return Values
array|string