Overview

Packages

  • akismet
  • None
  • PHP
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • plugins
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Signatures
    • Signed
    • Transport
  • wa-apps
    • blog
      • actions
        • backend
        • blog
        • comment
        • cron
        • design
        • frontend
        • page
        • plugin
        • post
      • api
        • v1
      • cli
      • layout
      • model
      • plugin
        • aksimet
        • category
        • emailsubscription
        • favorite
        • gravatar
        • import
        • markdown
        • myposts
        • tag
        • troll
      • settings
    • checklists
      • backend
      • json
    • contacts
      • backend
    • developer
    • dummy
    • guestbook
    • guestbook2
    • photos
      • album
      • api
        • v1
      • backend
      • design
      • dialog
      • frontend
      • page
      • photo
      • plugin
        • comment
        • imageeffects
        • import
        • publicgallery
        • watermark
      • search
      • settings
      • stack
      • tag
      • upload
    • site
      • backend
      • blocks
      • config
      • design
      • domains
      • files
      • frontend
      • helper
      • layout
      • pages
      • routing
      • setting
    • stickies
      • api
        • v1
      • sheet
      • stiky
  • wa-plugin
    • payment
    • shipping
    • sms
  • wa-plugins
    • shipping
      • usps
  • wa-system
    • API
    • Auth
      • Adapters
    • Autoload
    • Cache
      • Adapter
    • Captcha
    • Config
    • Contact
    • controller
    • currency
    • database
    • datetime
    • design
    • event
    • exception
    • files
    • image
    • layout
    • locale
    • log
    • mail
    • page
      • action
      • model
    • payment
    • plugin
    • request
    • response
    • routing
    • shipping
    • sms
    • storage
    • user
    • util
    • validator
    • view
    • webasyst
      • api
      • backend
      • cli
      • config
      • layout
      • login
      • model
      • password
      • payment
      • profile
      • settings
      • shipment
    • widget
    • workflow
  • waPlugins
    • Payment
  • webasyst
    • wa-system
      • helper

Classes

  • contactsConfig
  • waAppConfig
  • waConfig
  • waRightConfig
  • waSitemapConfig
  • waSystemConfig
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class waConfig

This file is part of Webasyst framework.

Licensed under the terms of the GNU Lesser General Public License (LGPL). http://www.webasyst.com/framework/license/

Package: wa-system\Config
Copyright: 2011 Webasyst LLC
License: LGPL
Author: Webasyst LLC
See: http://www.webasyst.ru/developers/docs/basics/classes/waConfig/
Link: http://www.webasyst.com/
Located at wa-system/config/waConfig.class.php
Methods summary
public static mixed|null
# get( string $name, mixed $default = null )

Returns value of configuration parameter by name.

Returns value of configuration parameter by name.

Parameters

$name
string
$name Parameter name
$default
mixed
$default Default value

Returns

mixed|null

See

http://www.webasyst.ru/developers/docs/basics/classes/waConfig/#method-get
public static boolean
# has( string $name )

Indicates whether a configuration parameter exists.

Indicates whether a configuration parameter exists.

Parameters

$name
string
$name Parameter name

Returns

boolean

See

http://www.webasyst.ru/developers/docs/basics/classes/waConfig/#method-has
public static
# set( string $name, mixed $value )

Sets a value to a configuration parameter.

Sets a value to a configuration parameter.

Non-existent parameter will be created.

Parameters

$name
string
$name Parameter name
$value
mixed
$value Parameter value

See

http://www.webasyst.ru/developers/docs/basics/classes/waConfig/#method-set
public static
# add( array $parameters = array() )

Sets an array of configuration parameters.

Sets an array of configuration parameters.

If the name of an existing parameter matches any of the keys of the supplied array, the associated value will be overridden.

Parameters

$parameters
array
$parameters Associative array of configuration parameters and their associated values

See

http://www.webasyst.ru/developers/docs/basics/classes/waConfig/#method-add
public static array
# getAll( )

Returns all configuration parameters.

Returns all configuration parameters.

Returns

array
Associative array of configuration parameters.

See

http://www.webasyst.ru/developers/docs/basics/classes/waConfig/#method-getAll
public static
# clear( )

Clears all current configuration parameters.

Clears all current configuration parameters.

See

http://www.webasyst.ru/developers/docs/basics/classes/waConfig/#method-clear
Properties summary
protected static array $config array()
#
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0