Backend\Modules\Locale\Engine\Model::getTypeName PHP 메소드

getTypeName() 공개 정적인 메소드

Get full type name.
public static getTypeName ( string $type ) : string
$type string The type of the locale.
리턴 string
    public static function getTypeName($type)
    {
        // get full type name
        switch ($type) {
            case 'act':
                $type = 'action';
                break;
            case 'err':
                $type = 'error';
                break;
            case 'lbl':
                $type = 'label';
                break;
            case 'msg':
                $type = 'message';
                break;
        }
        return $type;
    }