I am using the cakephp framework I am passing some variables into the url for pagination. I wish to include a string and join a isset
$this->Paginator->options(array('url' => array(isset($filterCompany)? $filterCompany : 'all'));
what I need is to include 'company:' before the isset
$this->Paginator->options(array('url' => array('company:'.isset($filterCompany)? $filterCompany : 'all'));
I get an error (unidentified variable $filterCompany) with this, what would be the correct shorthand way?