$prefixes = CRM_Core_PseudoConstant::individualPrefix();
$prefixes = CRM_Core_PseudoConstant::individualPrefix(); $prefixes[‘Rev.’] = ts(‘Rev.’); CRM_Core_PseudoConstant::set(‘CRM_Contact_DAO_Contact’, ‘prefix_id’, $prefixes);In the first example, we are retrieving the list of available individual prefixes. The second example shows how to add a new prefix to the list and set it as an option in the contact record. Overall, the CRM_Core_PseudoConstant class is an essential part of the CiviCRM package library for PHP, providing a centralized way to manage the pseudo constants used throughout the system.