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']"));
	}
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']"));
	}
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']" ) ) ; }
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
Function to Search For an Item in Joomla! Administrator Lists views