PerlDoc

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview


Parent package: Foswiki
Child packages:

    internal package Foswiki::Plurals

    Handle conversion of plural topic names to singular form.

    StaticMethod singularForm($web, $pluralForm) → $singularForm

    Try to singularise plural topic name.
    • $web - the web the topic must be in
    • $pluralForm - topic name
    Returns undef if no singular form exists, otherwise returns the singular form of the topic

    I18N - Only apply plural processing if site language is English, or if a built-in English-language web. Plurals apply to names ending in 's', where topic doesn't exist with plural name.

    Note that this is highly langauge specific, and need to be enabled on a per-installation basis with $Foswiki::cfg{PluralToSingular}.

    Kontakt
    Pädagogische Hochschule Schwyz
    Zaystrasse 42
    CH-6410 Goldau
    T +41 41 859 05 90
    info@phsz.ch Dies ist ein Wiki des Fachkerns Medien und Informatik der Pädagogischen Hochschule Schwyz. Für Fragen wenden Sie sich bitte an wikiadmin@phsz.ch
    This page was cached on 07 Feb 2025 - 17:14.
    This website is using cookies. More info. That's Fine