Created
January 22, 2019 13:33
-
-
Save tuxmartin/07ab062a4b132064a4488ad8e8221f17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function checkIfSeznam():bool | |
{ | |
return $this->get('utm_source') === 'www.seznam.cz' && in_array($this->get('utm_medium'), ['sekce-z-internetu', 'z-boxiku']); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function checkIfSeznam():bool | |
{ | |
$isSeznam = false; | |
if (($this->get('utm_source') == 'www.seznam.cz') && ($this->get('utm_medium') == 'sekce-z-internetu')) | |
{ | |
$isSeznam = true; | |
} | |
return $isSeznam; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment