src-dev/Mouf/Controllers/InstallController.php
public function index($selfedit = false) {
		$this->selfedit = $selfedit;
		$this->installService = new ComposerInstaller($selfedit == 'true');
		$this->installs = $this->installService->getInstallTasks();
		//var_dump($this->installs);exit;
		$this->countNbTodo = 0;
		foreach ($this->installs as $installTask) {
			if ($installTask->getStatus() == AbstractInstallTask::STATUS_TODO) {
				$this->countNbTodo++;
			}
		}

		$this->contentBlock->addFile(dirname(__FILE__)."/../../views/installer/installTasksList.php", $this);
		$this->template->toHtml();	
	}
public function index($selfedit = false) {
		$this->selfedit = $selfedit;
		$this->installService = new ComposerInstaller($selfedit == 'true');
		$this->installs = $this->installService->getInstallTasks();
		//var_dump($this->installs);exit;
		$this->countNbTodo = 0;
		foreach ($this->installs as $installTask) {
			if ($installTask->getStatus() == AbstractInstallTask::STATUS_TODO) {
				$this->countNbTodo++;
			}
		}

		$this->contentBlock->addFile(dirname(__FILE__)."/../../views/installer/installTasksList.php", $this);
		$this->template->toHtml();	
	}
public function index ( $ selfedit = false ) { $ this -> selfedit = $ selfedit ; $ this -> installService = new ComposerInstaller ( $ selfedit == 'true' ) ; $ this -> installs = $ this -> installService -> getInstallTasks ( ) ; //var_dump($this->installs);exit; $ this -> countNbTodo = 0 ; foreach ( $ this -> installs as $ installTask ) { if ( $ installTask -> getStatus ( ) == AbstractInstallTask :: STATUS_TODO ) { $ this -> countNbTodo ++ ; } } $ this -> contentBlock -> addFile ( dirname ( __FILE__ ) . "/../../views/installer/installTasksList.php" , $ this ) ; $ this -> template -> toHtml ( ) ; }
Displays the page to install packages

@Action
@Logged

@param string $selfedit If true, we are in self-edit mode
Displays the page to install packages