private function eventTokenEncode($values)
    {
        list($campaignId, $eventId, $contactId) = $values;
        $campaignIdString                       = $this->baseEncode((int) $campaignId);
        $eventIdString                          = $this->baseEncode((int) $eventId);
        $contactIdString                        = $this->baseEncode((int) $contactId);

        return $campaignIdString.'0'.$eventIdString.'0'.$contactIdString;
    }
private function eventTokenEncode($values)
    {
        list($campaignId, $eventId, $contactId) = $values;
        $campaignIdString                       = $this->baseEncode((int) $campaignId);
        $eventIdString                          = $this->baseEncode((int) $eventId);
        $contactIdString                        = $this->baseEncode((int) $contactId);

        return $campaignIdString.'0'.$eventIdString.'0'.$contactIdString;
    }
private function eventTokenEncode ( $ values ) { list ( $ campaignId , $ eventId , $ contactId ) = $ values ; $ campaignIdString = $ this -> baseEncode ( ( int ) $ campaignId ) ; $ eventIdString = $ this -> baseEncode ( ( int ) $ eventId ) ; $ contactIdString = $ this -> baseEncode ( ( int ) $ contactId ) ; return $ campaignIdString . '0' . $ eventIdString . '0' . $ contactIdString ; }
Encode Campaign ID, Event ID, and Contact ID into a short base62 string.
Zeros are used as delimiters reducing the subsequent integers to base61.

@param $values

@return string
Encode Campaign ID Event ID and Contact ID into a short base62 string . Zeros are used as delimiters reducing the subsequent integers to base61 .