WARNING LocalSite.cfg could not be found (This is normal for a new installation)
This Foswiki is running using a bootstrap configuration worked out by detecting the layout of the installation. To complete the bootstrap process you should either:
  • Restore the missing LocalSite.cfg from a backup, or
  • Complete the new Foswiki installation:

You have been logged in as a temporary administrator. Any requests made to this Foswiki will be treated as requests made by an administrator with full rights Your temporary administrator rights will "stick" until you've logged out from this session.

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::Prefs
Child packages:

    UNPUBLISHED package Foswiki::Prefs::Web

    This class is a simple wrapper around Foswiki::Prefs::Stack. Since Webs has an hierarchical structure it's needed only one stack to deal with preferences from Web and Web/Subweb and Web/Subweb/Subsubweb. This class has a reference to a stack and the level where the web is.

    This class is used by Foswiki::Prefs to pass web preferences to Foswiki::Meta and should not be used for anything else.

    ClassMethod new( $session )

    Creates a new WebPrefs object.

    ObjectMethod finish()

    Break circular references.

    ObjectMethod isInTopOfStack() → $boolean

    Returns true if this web is the hihger of the underlying stack object.

    ObjectMethod stack() → $stack

    Read-only accessor to the underlying stack object.

    ObjectMethod cloneStack($level) → $stack

    This method clone the underlying stack object, to the given $level. See Foswiki::Prefs::Stack::clone documentation.

    This method exists because WebPrefs objects are used by Foswiki::Prefs instead of bar Foswiki::Prefs::Stack and this operation is needed.

    ObjectMethod get($pref) → $value

    Returns the $value of the given $pref.

    Topic revision: r1 - 15 Mar 2026, UnknownUser
    This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
    Ideas, requests, problems regarding Foswiki? Send feedback