Revize 395eced7
Přidáno uživatelem Jan Šedivý před asi 6 roky(ů)
app/model/TransliterationSearchModel.php | ||
---|---|---|
5 | 5 |
|
6 | 6 |
use Nette\Http\Session; |
7 | 7 |
use Nette\Http\SessionSection; |
8 |
use Nette\Utils\ArrayHash; |
|
8 | 9 |
|
9 | 10 |
class TransliterationSearchModel |
10 | 11 |
{ |
... | ... | |
28 | 29 |
return $this->section; |
29 | 30 |
} |
30 | 31 |
|
31 |
public function setSearchTerms($searchTerms) |
|
32 |
public function setSearchTerms(ArrayHash $searchTerms)
|
|
32 | 33 |
{ |
33 | 34 |
$this->section->searchTerms = $searchTerms; |
34 | 35 |
} |
35 | 36 |
|
37 |
/** |
|
38 |
* @return null|ArrayHash |
|
39 |
*/ |
|
36 | 40 |
public function getSearchTerms() |
37 | 41 |
{ |
38 | 42 |
return $this->section->searchTerms; |
Také k dispozici: Unified diff
Re #7327 regexp quote, datové typy u parametrů