code/model/KapostConversionHistory.php
public function getDestinationTypeNice() {
        $className=$this->DestinationType;
        if(class_exists($className)) {
            $sng=singleton($className);
            if(method_exists($sng, 'i18n_singular_name')) {
                return $sng->i18n_singular_name();
            }else if(method_exists($sng, 'singular_name')) {
                return $sng->singular_name();
            }
        }
        
        return $className;
    }
public function getDestinationTypeNice() {
        $className=$this->DestinationType;
        if(class_exists($className)) {
            $sng=singleton($className);
            if(method_exists($sng, 'i18n_singular_name')) {
                return $sng->i18n_singular_name();
            }else if(method_exists($sng, 'singular_name')) {
                return $sng->singular_name();
            }
        }
        
        return $className;
    }
public function getDestinationTypeNice ( ) { $ className = $ this -> DestinationType ; if ( class_exists ( $ className ) ) { $ sng = singleton ( $ className ) ; if ( method_exists ( $ sng , 'i18n_singular_name' ) ) { return $ sng -> i18n_singular_name ( ) ; } else if ( method_exists ( $ sng , 'singular_name' ) ) { return $ sng -> singular_name ( ) ; } } return $ className ; }
Gets the singular name of the destination type or just returs what was stored for the destination type if the class does not have one of i18n_singular_name or singular_name or the class does not exist
@return string
Gets the singular name of the destination type or just returs what was stored for the destination type if the class does not have one of i18n_singular_name or singular_name or the class does not exist