Skip to content

Commit

Permalink
CHG: SEO-Enhancer integration #55
Browse files Browse the repository at this point in the history
  • Loading branch information
tuegeb committed Aug 18, 2016
1 parent a06a7ef commit 3951306
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions FACTFinder/Core/AbstractConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ public function getWhitelistServerParameters()
'query' => true,
'queryFromSuggest' => true,
'searchField' => true,
'seoPath' => true,
'sid' => true,
'simi' => true,
'title' => true,
Expand Down
13 changes: 11 additions & 2 deletions FACTFinder/Data/SearchParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class SearchParameters
/**
* @var string
*/
private $query;
private $query;
private $seoPath;
private $channel;
private $advisorStatus;

Expand Down Expand Up @@ -43,6 +44,8 @@ public function __construct(
) {
$this->query = isset($parameters['query']) ? $parameters['query'] : '';

$this->seoPath = isset($parameters['seoPath']) ? $parameters['seoPath'] : '';

// Properly prepared server parameters will always have a channel set
$this->channel = $parameters['channel'];

Expand Down Expand Up @@ -78,7 +81,13 @@ public function __construct(
}
}


/**
* @return string
*/
public function getSeoPath()
{
return $this->seoPath;
}

/**
* @return string
Expand Down

0 comments on commit 3951306

Please sign in to comment.