src/Mouf/Utils/I18n/Fine/Controllers/EditLabelController.php
public function searchLabel($msginstancename = "defaultTranslationService", $selfedit = "false", $search, $language_search = null) {
		$this->msgInstanceName = $msginstancename;
		$this->selfedit = $selfedit;
	
		$array = $this->getAllMessagesFromService(($selfedit == "true"), $msginstancename, $language_search);
		$this->languages = $array["languages"];
		$this->search = $search;
		$this->language_search = $language_search;
		if($search) {
			$this->msgs = $array["msgs"];
	
			
			$regex = $this->stripRegexMetaChars($this->stripAccents($search));
			$this->results = $this->regex_search_array($array["msgs"], $regex);
			
			$this->error = false;
		}
		else
			$this->error = true;

		$webLibriary = new WebLibrary(array(), array('../utils.i18n.fine/src/views/css/style.css'));
		$this->template->getWebLibraryManager()->addLibrary($webLibriary);

		$this->content->addFile('../utils.i18n.fine/src/views/searchLabel.php', $this);
		$this->template->toHtml();
	}
public function searchLabel($msginstancename = "defaultTranslationService", $selfedit = "false", $search, $language_search = null) {
		$this->msgInstanceName = $msginstancename;
		$this->selfedit = $selfedit;
	
		$array = $this->getAllMessagesFromService(($selfedit == "true"), $msginstancename, $language_search);
		$this->languages = $array["languages"];
		$this->search = $search;
		$this->language_search = $language_search;
		if($search) {
			$this->msgs = $array["msgs"];
	
			
			$regex = $this->stripRegexMetaChars($this->stripAccents($search));
			$this->results = $this->regex_search_array($array["msgs"], $regex);
			
			$this->error = false;
		}
		else
			$this->error = true;

		$webLibriary = new WebLibrary(array(), array('../utils.i18n.fine/src/views/css/style.css'));
		$this->template->getWebLibraryManager()->addLibrary($webLibriary);

		$this->content->addFile('../utils.i18n.fine/src/views/searchLabel.php', $this);
		$this->template->toHtml();
	}
public function searchLabel ( $ msginstancename = "defaultTranslationService" , $ selfedit = "false" , $ search , $ language_search = null ) { $ this -> msgInstanceName = $ msginstancename ; $ this -> selfedit = $ selfedit ; $ array = $ this -> getAllMessagesFromService ( ( $ selfedit == "true" ) , $ msginstancename , $ language_search ) ; $ this -> languages = $ array [ "languages" ] ; $ this -> search = $ search ; $ this -> language_search = $ language_search ; if ( $ search ) { $ this -> msgs = $ array [ "msgs" ] ; $ regex = $ this -> stripRegexMetaChars ( $ this -> stripAccents ( $ search ) ) ; $ this -> results = $ this -> regex_search_array ( $ array [ "msgs" ] , $ regex ) ; $ this -> error = false ; } else $ this -> error = true ; $ webLibriary = new WebLibrary ( array ( ) , array ( '../utils.i18n.fine/src/views/css/style.css' ) ) ; $ this -> template -> getWebLibraryManager ( ) -> addLibrary ( $ webLibriary ) ; $ this -> content -> addFile ( '../utils.i18n.fine/src/views/searchLabel.php' , $ this ) ; $ this -> template -> toHtml ( ) ; }
Search All label with the value

@Action
@Logged
@param string $name
@param string $search
Search All label with the value