Skip to content

Instantly share code, notes, and snippets.

@tuxmartin
Created January 22, 2019 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuxmartin/07ab062a4b132064a4488ad8e8221f17 to your computer and use it in GitHub Desktop.
Save tuxmartin/07ab062a4b132064a4488ad8e8221f17 to your computer and use it in GitHub Desktop.
public function checkIfSeznam():bool
{
return $this->get('utm_source') === 'www.seznam.cz' && in_array($this->get('utm_medium'), ['sekce-z-internetu', 'z-boxiku']);
}
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