original_string: public function publishModule($module)
  	{
  		$this->amOnPage('administrator/index.php?option=com_modules');
  		$this->searchForItem($module);
  		$this->checkAllResults();
  		$this->click(array('xpath' => "//div[@id='toolbar-publish']/button"));
  		$this->waitForText(' published.', 30, array('id' => 'system-message-container'));
  	}
code: public function publishModule($module)
  	{
  		$this->amOnPage('administrator/index.php?option=com_modules');
  		$this->searchForItem($module);
  		$this->checkAllResults();
  		$this->click(array('xpath' => "//div[@id='toolbar-publish']/button"));
  		$this->waitForText(' published.', 30, array('id' => 'system-message-container'));
  	}
code_tokens: public function publishModule ( $ module ) { $ this -> amOnPage ( 'administrator/index.php?option=com_modules' ) ; $ this -> searchForItem ( $ module ) ; $ this -> checkAllResults ( ) ; $ this -> click ( array ( 'xpath' => "//div[@id='toolbar-publish']/button" ) ) ; $ this -> waitForText ( ' published.' , 30 , array ( 'id' => 'system-message-container' ) ) ; }
docstring: Publishes a module on all frontend pages
  
  @param   string  $module  The full name of the module
  
  @return  void
  
  @since   3.0.0
  @throws  \Exception
docstring_tokens: Publishes a module on all frontend pages