public function getRegistrationLink($program_id, $session_id) {
    $uri = $this->getUrlFromOpenyProgramsSearchSettings('registration_path');

    $query = [
      'program_id' => $program_id,
      'session_ids' => $session_id,
    ];

    $path = Url::fromUri(
      $uri,
      [
        'query' => $query,
        'absolute' => TRUE,
        'https' => TRUE,
      ]
    );

    return $path->toString();
  }
public function getRegistrationLink($program_id, $session_id) {
    $uri = $this->getUrlFromOpenyProgramsSearchSettings('registration_path');

    $query = [
      'program_id' => $program_id,
      'session_ids' => $session_id,
    ];

    $path = Url::fromUri(
      $uri,
      [
        'query' => $query,
        'absolute' => TRUE,
        'https' => TRUE,
      ]
    );

    return $path->toString();
  }
public function getRegistrationLink ( $ program_id , $ session_id ) { $ uri = $ this -> getUrlFromOpenyProgramsSearchSettings ( 'registration_path' ) ; $ query = [ 'program_id' => $ program_id , 'session_ids' => $ session_id , ] ; $ path = Url :: fromUri ( $ uri , [ 'query' => $ query , 'absolute' => TRUE , 'https' => TRUE , ] ) ; return $ path -> toString ( ) ; }
Get registration link.

@param int $program_id
Program ID.
@param int $session_id
Session ID.

@return string
Registration link.
Get registration link .