public function install($selfedit = 'false', $task = null) {
		$this->selfedit = $selfedit;
		$this->installService = new ComposerInstaller($selfedit == 'true');
		
		if ($task !== null) {
			$taskArray = unserialize($task);
		} else {
			$taskArray = null;
		}
		
		if ($taskArray == null) {
			$this->installService->installAll();
		} else {
			$this->installService->install($taskArray);
		}
		// The call to install or installAll redirects to printInstallationScreen.
	}