src/core/framework/core/3rdparty/ezcomponents/Base/src/base.php
public static function setRunMode( $runMode )
    {
        if ( !in_array( $runMode, array( ezcBase::MODE_PRODUCTION, ezcBase::MODE_DEVELOPMENT ) ) )
        {
            throw new ezcBaseValueException( 'runMode', $runMode, 'ezcBase::MODE_PRODUCTION or ezcBase::MODE_DEVELOPMENT' );
        }

        self::$runMode = $runMode;
    }
public static function setRunMode( $runMode )
    {
        if ( !in_array( $runMode, array( ezcBase::MODE_PRODUCTION, ezcBase::MODE_DEVELOPMENT ) ) )
        {
            throw new ezcBaseValueException( 'runMode', $runMode, 'ezcBase::MODE_PRODUCTION or ezcBase::MODE_DEVELOPMENT' );
        }

        self::$runMode = $runMode;
    }
public static function setRunMode ( $ runMode ) { if ( ! in_array ( $ runMode , array ( ezcBase :: MODE_PRODUCTION , ezcBase :: MODE_DEVELOPMENT ) ) ) { throw new ezcBaseValueException ( 'runMode' , $ runMode , 'ezcBase::MODE_PRODUCTION or ezcBase::MODE_DEVELOPMENT' ) ; } self :: $ runMode = $ runMode ; }
Sets the development mode to the one specified.

@param int $runMode
Sets the development mode to the one specified .