src-dev/Mouf/Controllers/Composer/InstalledPackagesController.php
public function search($text) {
		$composerService = new ComposerService(false, true);
		
		ChunckedUtils::init();
		
		$msg = "<script>window.parent.Composer.consoleOutput('Composer is searching...<br/>')</script>";
		ChunckedUtils::writeChunk($msg);
		
		$msg = "<script>window.parent.Composer.setSearchStatus(true)</script>";
		ChunckedUtils::writeChunk($msg);
		
		$composerService->searchPackages($text, $this);
		
		$msg = "<script>window.parent.Composer.setSearchStatus(false)</script>";
		ChunckedUtils::writeChunk($msg);
		
		ChunckedUtils::close();		
	}
public function search($text) {
		$composerService = new ComposerService(false, true);
		
		ChunckedUtils::init();
		
		$msg = "<script>window.parent.Composer.consoleOutput('Composer is searching...<br/>')</script>";
		ChunckedUtils::writeChunk($msg);
		
		$msg = "<script>window.parent.Composer.setSearchStatus(true)</script>";
		ChunckedUtils::writeChunk($msg);
		
		$composerService->searchPackages($text, $this);
		
		$msg = "<script>window.parent.Composer.setSearchStatus(false)</script>";
		ChunckedUtils::writeChunk($msg);
		
		ChunckedUtils::close();		
	}
public function search ( $ text ) { $ composerService = new ComposerService ( false , true ) ; ChunckedUtils :: init ( ) ; $ msg = "<script>window.parent.Composer.consoleOutput('Composer is searching...<br/>')</script>" ; ChunckedUtils :: writeChunk ( $ msg ) ; $ msg = "<script>window.parent.Composer.setSearchStatus(true)</script>" ; ChunckedUtils :: writeChunk ( $ msg ) ; $ composerService -> searchPackages ( $ text , $ this ) ; $ msg = "<script>window.parent.Composer.setSearchStatus(false)</script>" ; ChunckedUtils :: writeChunk ( $ msg ) ; ChunckedUtils :: close ( ) ; }
Searches the packages and returns a list of matching packages.

@URL composer/search
@param string $text
Searches the packages and returns a list of matching packages .