FCF 2.0 development in progress...
> > > > > >
[News] [Packages API] [Downloads] [Donate to the project] [Contacts]

constructor() method from fcf.Configuration class

constructor({configuration, enableDefaultParams} a_options)

Package: fcf-framework-core

File: fcf-framework-core:fcf.js

Available from version: 2.0.2

Class constructor


{configuration, enableDefaultParams} a_options
- Additional object creation options
  • object|fcf.Configuration configuration - The configuration object whose fields will be copied into the created object. If the object is an instance of the fcf.Configuration class and the fields in the configuration object are changed, then the changes will be reflected in the new object. Object parameters are added to the configuration similar to the append method

  • boolean enableDefaultParams - If the parameter is equal to true, then the object is created with the preset fields of the framework system settings. The list of predefined fields can be found on the package description page: fcf-framework-core