original_string: public function get_badge_issuer() {
          $issuer = array();
          $issuerurl = new moodle_url('/badges/badge_json.php', array('id' => $this->id, 'action' => 0));
          $issuer['name'] = $this->issuername;
          $issuer['url'] = $this->issuerurl;
          $issuer['email'] = $this->issuercontact;
          $issuer['@context'] = OPEN_BADGES_V2_CONTEXT;
          $issuer['id'] = $issuerurl->out(false);
          $issuer['type'] = OPEN_BADGES_V2_TYPE_ISSUER;
          return $issuer;
      }
code: public function get_badge_issuer() {
          $issuer = array();
          $issuerurl = new moodle_url('/badges/badge_json.php', array('id' => $this->id, 'action' => 0));
          $issuer['name'] = $this->issuername;
          $issuer['url'] = $this->issuerurl;
          $issuer['email'] = $this->issuercontact;
          $issuer['@context'] = OPEN_BADGES_V2_CONTEXT;
          $issuer['id'] = $issuerurl->out(false);
          $issuer['type'] = OPEN_BADGES_V2_TYPE_ISSUER;
          return $issuer;
      }
code_tokens: public function get_badge_issuer ( ) { $ issuer = array ( ) ; $ issuerurl = new moodle_url ( '/badges/badge_json.php' , array ( 'id' => $ this -> id , 'action' => 0 ) ) ; $ issuer [ 'name' ] = $ this -> issuername ; $ issuer [ 'url' ] = $ this -> issuerurl ; $ issuer [ 'email' ] = $ this -> issuercontact ; $ issuer [ '@context' ] = OPEN_BADGES_V2_CONTEXT ; $ issuer [ 'id' ] = $ issuerurl -> out ( false ) ; $ issuer [ 'type' ] = OPEN_BADGES_V2_TYPE_ISSUER ; return $ issuer ; }
docstring: Define issuer information by format Open Badges specification version 2.
  
  @return array Issuer informations of the badge.
docstring_tokens: Define issuer information by format Open Badges specification version 2 .