diff --git a/lam/lib/modules/inetOrgPerson.inc b/lam/lib/modules/inetOrgPerson.inc index c63b7b79..74e6aead 100644 --- a/lam/lib/modules/inetOrgPerson.inc +++ b/lam/lib/modules/inetOrgPerson.inc @@ -887,26 +887,26 @@ class inetOrgPerson extends baseModule { */ function get_pdfEntries() { return array( - 'inetOrgPerson_description' => array('' . _('Description') . '' . $this->attributes['description'][0] . ''), - 'inetOrgPerson_host' => array('' . _('Unix workstations') . '' . $this->attributes['host'][0] . ''), - 'inetOrgPerson_title' => array('' . _('Job title') . '' . $this->attributes['title'][0] . ''), - 'inetOrgPerson_givenName' => array('' . _('First name') . '' . $this->attributes['givenName'][0] . ''), - 'inetOrgPerson_sn' => array('' . _('Last name') . '' . $this->attributes['sn'][0] . ''), - 'inetOrgPerson_employeeType' => array('' . _('Employee type') . '' . $this->attributes['employeeType'][0] . ''), - 'inetOrgPerson_manager' => array('' . _('Manager') . '' . $this->attributes['manager'][0] . ''), - 'inetOrgPerson_street' => array('' . _('Street') . '' . $this->attributes['street'][0] . ''), - 'inetOrgPerson_postOfficeBox' => array('' . _('Post office box') . '' . $this->attributes['postOfficeBox'][0] . ''), - 'inetOrgPerson_postalCode' => array('' . _('Postal code') . '' . $this->attributes['postalCode'][0] . ''), - 'inetOrgPerson_postalAddress' => array('' . _('Postal address') . '' . $this->attributes['postalAddress'][0] . ''), - 'inetOrgPerson_telephoneNumber' => array('' . _('Telephone number') . '' . $this->attributes['telephoneNumber'][0] . ''), - 'inetOrgPerson_homePhone' => array('' . _('Home telephone number') . '' . $this->attributes['homePhone'][0] . ''), - 'inetOrgPerson_mobileTelephoneNumber' => array('' . _('Mobile number') . '' . $this->attributes['mobile'][0] . ''), - 'inetOrgPerson_facimileTelephoneNumber' => array('' . _('Fax number') . '' . $this->attributes['facsimileTelephoneNumber'][0] . ''), - 'inetOrgPerson_mail' => array('' . _('eMail address') . '' . $this->attributes['mail'][0] . ''), - 'inetOrgPerson_cn' => array('' . _('Common name') . '' . $this->attributes['cn'][0] . ''), - 'inetOrgPerson_roomNumber' => array('' . _('Room number') . '' . $this->attributes['roomNumber'][0] . ''), - 'inetOrgPerson_businessCategory' => array('' . _('Business category') . '' . $this->attributes['businessCategory'][0] . ''), - 'inetOrgPerson_uid' => array('' . _('User name') . '' . $this->attributes['uid'][0] . '')); + get_class($this) . '_description' => array('' . _('Description') . '' . $this->attributes['description'][0] . ''), + get_class($this) . '_host' => array('' . _('Unix workstations') . '' . $this->attributes['host'][0] . ''), + get_class($this) . '_title' => array('' . _('Job title') . '' . $this->attributes['title'][0] . ''), + get_class($this) . '_givenName' => array('' . _('First name') . '' . $this->attributes['givenName'][0] . ''), + get_class($this) . '_sn' => array('' . _('Last name') . '' . $this->attributes['sn'][0] . ''), + get_class($this) . '_employeeType' => array('' . _('Employee type') . '' . $this->attributes['employeeType'][0] . ''), + get_class($this) . '_manager' => array('' . _('Manager') . '' . $this->attributes['manager'][0] . ''), + get_class($this) . '_street' => array('' . _('Street') . '' . $this->attributes['street'][0] . ''), + get_class($this) . '_postOfficeBox' => array('' . _('Post office box') . '' . $this->attributes['postOfficeBox'][0] . ''), + get_class($this) . '_postalCode' => array('' . _('Postal code') . '' . $this->attributes['postalCode'][0] . ''), + get_class($this) . '_postalAddress' => array('' . _('Postal address') . '' . $this->attributes['postalAddress'][0] . ''), + get_class($this) . '_telephoneNumber' => array('' . _('Telephone number') . '' . $this->attributes['telephoneNumber'][0] . ''), + get_class($this) . '_homePhone' => array('' . _('Home telephone number') . '' . $this->attributes['homePhone'][0] . ''), + get_class($this) . '_mobileTelephoneNumber' => array('' . _('Mobile number') . '' . $this->attributes['mobile'][0] . ''), + get_class($this) . '_facimileTelephoneNumber' => array('' . _('Fax number') . '' . $this->attributes['facsimileTelephoneNumber'][0] . ''), + get_class($this) . '_mail' => array('' . _('eMail address') . '' . $this->attributes['mail'][0] . ''), + get_class($this) . '_cn' => array('' . _('Common name') . '' . $this->attributes['cn'][0] . ''), + get_class($this) . '_roomNumber' => array('' . _('Room number') . '' . $this->attributes['roomNumber'][0] . ''), + get_class($this) . '_businessCategory' => array('' . _('Business category') . '' . $this->attributes['businessCategory'][0] . ''), + get_class($this) . '_uid' => array('' . _('User name') . '' . $this->attributes['uid'][0] . '')); } /**