original_string: public function setFilter($label, $value)
  	{
  		$label = strtolower($label);
  
  		$filters = array(
  			"select status" 	=> "filter_published",
  			"select access"		=> "filter_access",
  			"select language" 	=> "filter_language",
  			"select tag"		=> "filter_tag",
  			"select max levels"	=> "filter_level"
  		);
  
  		$this->click(array('xpath' => "//button[@data-original-title='Filter the list items.']"));
  		$this->debug('I try to select the filters');
  
  		foreach ($filters as $fieldName => $id)
  		{
  			if ($fieldName == $label)
  			{
  				$this->selectOptionInChosenByIdUsingJs($id, $value);
  			}
  		}
  
  		$this->debug('Applied filters');
  	}
code: public function setFilter($label, $value)
  	{
  		$label = strtolower($label);
  
  		$filters = array(
  			"select status" 	=> "filter_published",
  			"select access"		=> "filter_access",
  			"select language" 	=> "filter_language",
  			"select tag"		=> "filter_tag",
  			"select max levels"	=> "filter_level"
  		);
  
  		$this->click(array('xpath' => "//button[@data-original-title='Filter the list items.']"));
  		$this->debug('I try to select the filters');
  
  		foreach ($filters as $fieldName => $id)
  		{
  			if ($fieldName == $label)
  			{
  				$this->selectOptionInChosenByIdUsingJs($id, $value);
  			}
  		}
  
  		$this->debug('Applied filters');
  	}
code_tokens: public function setFilter ( $ label , $ value ) { $ label = strtolower ( $ label ) ; $ filters = array ( "select status" => "filter_published" , "select access" => "filter_access" , "select language" => "filter_language" , "select tag" => "filter_tag" , "select max levels" => "filter_level" ) ; $ this -> click ( array ( 'xpath' => "//button[@data-original-title='Filter the list items.']" ) ) ; $ this -> debug ( 'I try to select the filters' ) ; foreach ( $ filters as $ fieldName => $ id ) { if ( $ fieldName == $ label ) { $ this -> selectOptionInChosenByIdUsingJs ( $ id , $ value ) ; } } $ this -> debug ( 'Applied filters' ) ; }
docstring: Function to filter results in Joomla! Administrator.
  
  @param   string  $label  Label of the Filter you want to use.
  @param   string  $value  Value you want to set in the filters.
  
  @return  void
  
  @since   3.0.0
docstring_tokens: Function to filter results in Joomla! Administrator .