/** * * @return CRM_Mainactivity_CaseStatusConfig */ public static function singleton() { if (!self::$singleton) { self::$singleton = new CRM_Mainactivity_CaseStatusConfig(); } return self::$singleton; }
public function parseFromExecutionToDebriefing() { $config = CRM_Mainactivity_CaseStatusConfig::singleton(); $this->parseCaseStatus($config->getCaseStatusExecution('value'), $this->main_activity_info['table_name'], 'entity_id', $this->end_date['column_name'], $config->getCaseStatusDebriefing('value')); }