original_string: public function searchForItem($name = null)
  	{
  		if ($name)
  		{
  			$this->debug("Searching for $name");
  			$this->fillField(array('id' => "filter_search"), $name);
  			$this->click(array('xpath' => "//button[@type='submit' and @data-original-title='Search']"));
  
  			return;
  		}
  
  		$this->debug('clearing search filter');
  		$this->click(array('xpath' => "//button[@type='button' and @data-original-title='Clear']"));
  	}
code: public function searchForItem($name = null)
  	{
  		if ($name)
  		{
  			$this->debug("Searching for $name");
  			$this->fillField(array('id' => "filter_search"), $name);
  			$this->click(array('xpath' => "//button[@type='submit' and @data-original-title='Search']"));
  
  			return;
  		}
  
  		$this->debug('clearing search filter');
  		$this->click(array('xpath' => "//button[@type='button' and @data-original-title='Clear']"));
  	}
code_tokens: public function searchForItem ( $ name = null ) { if ( $ name ) { $ this -> debug ( "Searching for $name" ) ; $ this -> fillField ( array ( 'id' => "filter_search" ) , $ name ) ; $ this -> click ( array ( 'xpath' => "//button[@type='submit' and @data-original-title='Search']" ) ) ; return ; } $ this -> debug ( 'clearing search filter' ) ; $ this -> click ( array ( 'xpath' => "//button[@type='button' and @data-original-title='Clear']" ) ) ; }
docstring: Function to Search For an Item in Joomla! Administrator Lists views
  
  @param   String  $name  Name of the Item which we need to Search
  
  @return void
  
  @since   3.0.0
docstring_tokens: Function to Search For an Item in Joomla! Administrator Lists views