getCleanKeyword() public static method

public static getCleanKeyword ( $label )
Beispiel #1
0
 public function getKeyword()
 {
     $keyword = $this->details['referer_keyword'];
     if ($this->getReferrerType() == 'search') {
         $keyword = API::getCleanKeyword($keyword);
     }
     return urldecode($keyword);
 }
Beispiel #2
0
 function getKeyword()
 {
     $keyword = $this->details['referer_keyword'];
     if (\Piwik\Plugin\Manager::getInstance()->isPluginActivated('Referrers') && $this->getReferrerType() == 'search') {
         $keyword = \Piwik\Plugins\Referrers\API::getCleanKeyword($keyword);
     }
     return urldecode($keyword);
 }