src-dev/Mouf/Installer/ComposerInstaller.php
public function install(array $task) {
		// The kind of action to be performed is stored in a file (mouf/installActions.json)
		// This file contains an array that can be either:
		// { "type": "all" } => install all tasks marked "todo"
		// { "type": "one", "task": { // task details } } => install only the task passed in parameter
		self::ensureWritable($this->installStatusFile);
		file_put_contents($this->installStatusFile, json_encode(
			array("type"=>"one",
				"task"=>$task)));
		
		header("Location: ".MOUF_URL."installer/printInstallationScreen?selfedit=".json_encode($this->selfEdit));
	}
public function install(array $task) {
		// The kind of action to be performed is stored in a file (mouf/installActions.json)
		// This file contains an array that can be either:
		// { "type": "all" } => install all tasks marked "todo"
		// { "type": "one", "task": { // task details } } => install only the task passed in parameter
		self::ensureWritable($this->installStatusFile);
		file_put_contents($this->installStatusFile, json_encode(
			array("type"=>"one",
				"task"=>$task)));
		
		header("Location: ".MOUF_URL."installer/printInstallationScreen?selfedit=".json_encode($this->selfEdit));
	}
public function install ( array $ task ) { // The kind of action to be performed is stored in a file (mouf/installActions.json) // This file contains an array that can be either: // { "type": "all" } => install all tasks marked "todo" // { "type": "one", "task": { // task details } } => install only the task passed in parameter self :: ensureWritable ( $ this -> installStatusFile ) ; file_put_contents ( $ this -> installStatusFile , json_encode ( array ( "type" => "one" , "task" => $ task ) ) ) ; header ( "Location: " . MOUF_URL . "installer/printInstallationScreen?selfedit=" . json_encode ( $ this -> selfEdit ) ) ; }
Starts the install process for only only task.

@param array $task
Starts the install process for only only task .