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 waSystemConfig

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
Link: http://www.webasyst.com/
Located at wa-system/config/waSystemConfig.class.php
Methods summary
public
# __construct( mixed $environment = null, mixed $root_path = null )
protected
# responseStatic( mixed $file )
public static
# getTime( mixed $diff = true )
protected
# getSystemOption( mixed $name )
public static
# systemOption( mixed $name )
protected
# getOption( mixed $name = null )
public
# getFactory( mixed $name )
public
# getCurrentUrl( )
public
# getRequestUrl( mixed $without_root = true, mixed $without_params = false )
public
# getRootUrl( mixed $absolute = false, mixed $script = false )
public
# getHostUrl( )
public
# getDomain( )
protected
# configure( )
public
# init( )
public
# getBackendUrl( mixed $with_root_url = false )
protected
# setPath( mixed $root_path )
public
# getPath( mixed $name, mixed $file = null )
public
# getAppsPath( mixed $app, mixed $path = null )
public
# getConfigFile( mixed $file, mixed $default = array() )
public
# getConfigPath( mixed $name, mixed $user_config = true, mixed $app = null )
public
# getRouting( )
public
# getAuth( )
public
# setAuth( mixed $data )
public
# getRootPath( )
public static
# getActive( )
public static
# hasActive( )
public static waAppConfig
# getAppConfig( string $application, string $environment = null, string $root_path = null, string $locale = null )

Returns instance of AppConfig

Returns instance of AppConfig

Parameters

$application
string
$application
$environment
string
$environment
$root_path
string
$root_path
$locale
string
$locale

Returns

waAppConfig

Throws

waException
public
# getEnvironment( )
public
# getDatabase( )
public static
# isDebug( )
public static
# setDebug( )
public
# getLocales( mixed $type = false )
Properties summary
protected mixed $root_path null
#
protected mixed $environment null
#
protected static mixed $root_url null
#
protected static mixed $active null
#
protected static boolean $debug false
#
protected static array $system_options array( 'backend_url' => 'webasyst', 'mod_rewrite' => true )
#
public static mixed $time null
#
protected array $factories array()
#
protected static boolean $helpers false
#
My fork of Webasyst Framework API documentation generated by ApiGen 2.8.0