Resource

Namespace: PP.Mb;

Inheritance hierarchy

PP.Object

PP.Mb.Descriptor

PP.Mb.Object

PP.Mb.ResService

Description

The Resource class is used to work with string resources in different locales.

Syntax

PP.initClass(PP.Mb.Resource, PP.Mb.Object, "PP.Mb.Resource");

Methods

  Method name Brief description
CurrentCulture The CurrentCulture property defines the current language and regional settings.
DefaultCulture The DefaultCulture property determines default language and regional settings.
Translations The Tranlsations property determines objects that contain localized strings.

Properties inherited from the class PP.Mb.Object

  Property name Brief description
Metabase The Metabase property determines a repository that stores the object.
Names The Names property determines a collection of the object names for different languages.
OdId The OdId property determines a string of repository object moniker.

Params

The Params property determines a collection of the parameters for the repository object.
PPService The PPService property determines a service for working with a repository object.
ReadOnly The ReadOnly property determines whether it is possible to edit repository object.
ShareUrl The ShareUrl property determines URL of repository object.

Methods inherited from the class PP.Mb.Object

  Method name Brief description
getReadOnly The getReadOnly method determines whether an object is available for editing.

Properties inherited from class PP.Mb.Descriptor

  Property name Brief description
Class The Class property determines a repository object objects class.
HasChildren The HasChildren property returns whether there are children objects.

Id

The Id property determines repository object identifier.
IsLink The IsLink property returns whether this object is in another repository.
IsShortcut The IsShortcut property returns whether this object is a shortcut to other repository object.
Key The Key property determines a repository object key.
Metadata The Metadata property determines object metadata.
Name The Name property determines object name.

ParentKey

The ParentKey property determines parent object key.
TimeStamp The TimeStamp property determines date and time of the last changing of the repository object.
Visible The Visible property returns whether a repository object is visible.

methods inherited from the class PP.Mb.Descriptor

  Method name Brief description
getClass The getClass method returns class of repository object.
getHasChildren The getHasChildren method determines whether an object has child objects.
getIsShortcut The getIsShortcut method indicates whether an object is a shortcut.
getParentKey The getParentKey method returns key of the parent object.
getState The getState method returns object descriptor metadata: values of all properties of the Descriptor class.

Properties inherited from the class PP.Object

  Property name Brief description
Data The Data property associates a random object with this component.
Id The Id property sets component identifier.
Settings The Settings property sets the component parameters.

Methods inherited from the class PP.Object

  Method name Brief description
clone The clone method creates a copy of object. It is not implemented in PP.Ui.Control.
dispose The dispose method deletes the component.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.

See also:

PP.Mb