src/objects/ExtensibleSearchSuggestion.php
public function getFrequencyPercentage() {

		$history = ExtensibleSearch::get()->filter('ExtensibleSearchPageID', $this->ExtensibleSearchPageID);
		return $this->Frequency ? sprintf('%.2f %%', ($this->Frequency / $history->count()) * 100) : '-';
	}
public function getFrequencyPercentage() {

		$history = ExtensibleSearch::get()->filter('ExtensibleSearchPageID', $this->ExtensibleSearchPageID);
		return $this->Frequency ? sprintf('%.2f %%', ($this->Frequency / $history->count()) * 100) : '-';
	}
public function getFrequencyPercentage ( ) { $ history = ExtensibleSearch :: get ( ) -> filter ( 'ExtensibleSearchPageID' , $ this -> ExtensibleSearchPageID ) ; return $ this -> Frequency ? sprintf ( '%.2f %%' , ( $ this -> Frequency / $ history -> count ( ) ) * 100 ) : '-' ; }
Retrieve the frequency percentage.

@return string
Retrieve the frequency percentage .