Perform the application installation process
This includes copying files into the system and updating any databases
Tags:
Overrides
One_Click_Generic::install() (parent method not documented)
Call diff command, patch application, do anything else...
Not yet implemented.
Tags:
Overrides
One_Click_Generic::patch() (parent method not documented)
void post_configuration(
)
|
|
Validate input.
Return a value of false to force the user to reconfigure.
Return an exception of type ArgumentError to let the user know what options are invalid. Example:
if (!preg_match('/^[a-z]+$/',$password)) return new ArgumentError(array("password" => "Invalid password"));
Tags:
Overrides
One_Click_Generic::post_configuration() (parent method not documented)
void pre_configuration(
)
|
|
Pre configuration hooks. This function is reserved for ensuring that the user has the necessary features enabled for the account in order to install the application fine.
Use: return false; at the end of the function to prohibit the user from configuring or installing the application.
return true; allows the user to proceed with configuration of the application.
Example:
if (!$this->sql_service_enabled('mysql')) return false; // MySQL is not enabled for the account
Alternatively you can be a bit more verbose by returning an Exception if (!$this->sql_service_enabled('mysql')) return new PermissionError("MySQL not enabled for account");
Tags:
Overrides
One_Click_Generic::pre_configuration() (parent method not documented)