kernel/classes/ezscript.php
private function updateSettings( array $settings = array() )
    {
        if ( isset( $settings['debug-message'] ) )
            $this->DebugMessage = $settings['debug-message'];
        if ( isset( $settings['debug-output'] ) )
            $this->UseDebugOutput = $settings['debug-output'];
        if ( isset( $settings['debug-levels'] ) )
            $this->AllowedDebugLevels = $settings['debug-levels'];
        if ( isset( $settings['debug-accumulator'] ) )
            $this->UseDebugAccumulators = $settings['debug-accumulator'];
        if ( isset( $settings['debug-timing'] ) )
            $this->UseDebugTimingPoints = $settings['debug-timing'];
        if ( isset( $settings['debug-include'] ) )
            $this->UseIncludeFiles = $settings['debug-include'];
        if ( isset( $settings['use-session'] ) )
            $this->UseSession = $settings['use-session'];
        if ( isset( $settings['use-modules'] ) )
            $this->UseModules = $settings['use-modules'];
        if ( isset( $settings['use-extensions'] ) )
            $this->UseExtensions = $settings['use-extensions'];
        if ( isset( $settings['user'] ) )
            $this->User = $settings['user'];
        if ( isset( $settings['site-access'] ) )
            $this->SiteAccess = $settings['site-access'];
        if ( isset( $settings['description'] ) )
            $this->Description = $settings['description'];
        if ( isset( $settings['min_version'] ) )
            $this->MinVersion = $settings['min_version'];
        if ( isset( $settings['max_version'] ) )
            $this->MaxVersion = $settings['max_version'];
    }
private function updateSettings( array $settings = array() )
    {
        if ( isset( $settings['debug-message'] ) )
            $this->DebugMessage = $settings['debug-message'];
        if ( isset( $settings['debug-output'] ) )
            $this->UseDebugOutput = $settings['debug-output'];
        if ( isset( $settings['debug-levels'] ) )
            $this->AllowedDebugLevels = $settings['debug-levels'];
        if ( isset( $settings['debug-accumulator'] ) )
            $this->UseDebugAccumulators = $settings['debug-accumulator'];
        if ( isset( $settings['debug-timing'] ) )
            $this->UseDebugTimingPoints = $settings['debug-timing'];
        if ( isset( $settings['debug-include'] ) )
            $this->UseIncludeFiles = $settings['debug-include'];
        if ( isset( $settings['use-session'] ) )
            $this->UseSession = $settings['use-session'];
        if ( isset( $settings['use-modules'] ) )
            $this->UseModules = $settings['use-modules'];
        if ( isset( $settings['use-extensions'] ) )
            $this->UseExtensions = $settings['use-extensions'];
        if ( isset( $settings['user'] ) )
            $this->User = $settings['user'];
        if ( isset( $settings['site-access'] ) )
            $this->SiteAccess = $settings['site-access'];
        if ( isset( $settings['description'] ) )
            $this->Description = $settings['description'];
        if ( isset( $settings['min_version'] ) )
            $this->MinVersion = $settings['min_version'];
        if ( isset( $settings['max_version'] ) )
            $this->MaxVersion = $settings['max_version'];
    }
private function updateSettings ( array $ settings = array ( ) ) { if ( isset ( $ settings [ 'debug-message' ] ) ) $ this -> DebugMessage = $ settings [ 'debug-message' ] ; if ( isset ( $ settings [ 'debug-output' ] ) ) $ this -> UseDebugOutput = $ settings [ 'debug-output' ] ; if ( isset ( $ settings [ 'debug-levels' ] ) ) $ this -> AllowedDebugLevels = $ settings [ 'debug-levels' ] ; if ( isset ( $ settings [ 'debug-accumulator' ] ) ) $ this -> UseDebugAccumulators = $ settings [ 'debug-accumulator' ] ; if ( isset ( $ settings [ 'debug-timing' ] ) ) $ this -> UseDebugTimingPoints = $ settings [ 'debug-timing' ] ; if ( isset ( $ settings [ 'debug-include' ] ) ) $ this -> UseIncludeFiles = $ settings [ 'debug-include' ] ; if ( isset ( $ settings [ 'use-session' ] ) ) $ this -> UseSession = $ settings [ 'use-session' ] ; if ( isset ( $ settings [ 'use-modules' ] ) ) $ this -> UseModules = $ settings [ 'use-modules' ] ; if ( isset ( $ settings [ 'use-extensions' ] ) ) $ this -> UseExtensions = $ settings [ 'use-extensions' ] ; if ( isset ( $ settings [ 'user' ] ) ) $ this -> User = $ settings [ 'user' ] ; if ( isset ( $ settings [ 'site-access' ] ) ) $ this -> SiteAccess = $ settings [ 'site-access' ] ; if ( isset ( $ settings [ 'description' ] ) ) $ this -> Description = $ settings [ 'description' ] ; if ( isset ( $ settings [ 'min_version' ] ) ) $ this -> MinVersion = $ settings [ 'min_version' ] ; if ( isset ( $ settings [ 'max_version' ] ) ) $ this -> MaxVersion = $ settings [ 'max_version' ] ; }
Updates settings for current script.

Valid keys for $settings are :
- use-session
- use-modules
- use-extensions
- user
- site-access
- description
- min_version
- max_version
- debug-message
- debug-output
- debug-levels
- debug-accumulator
- debug-timing
- debug-include

@param array $settings
Updates settings for current script .