kernel/classes/ezsslzone.php
static function isKeepModeView( $module, $view )
    {
        $ini = eZINI::instance();
        $viewsModes  = $ini->variable( 'SSLZoneSettings', 'ModuleViewAccessMode' );
        $sslViews      = array_keys( $viewsModes, 'ssl' );
        $keepModeViews = array_keys( $viewsModes, 'keep' );

        if ( eZSSLZone::viewIsInArray( $module, $view, $keepModeViews ) <
             eZSSLZone::viewIsInArray( $module, $view, $sslViews ) )
        {
            eZDebugSetting::writeDebug( 'kernel-ssl-zone', 'The view cannot choose access mode itself.' );
            return false;
        }

        return true;
    }
static function isKeepModeView( $module, $view )
    {
        $ini = eZINI::instance();
        $viewsModes  = $ini->variable( 'SSLZoneSettings', 'ModuleViewAccessMode' );
        $sslViews      = array_keys( $viewsModes, 'ssl' );
        $keepModeViews = array_keys( $viewsModes, 'keep' );

        if ( eZSSLZone::viewIsInArray( $module, $view, $keepModeViews ) <
             eZSSLZone::viewIsInArray( $module, $view, $sslViews ) )
        {
            eZDebugSetting::writeDebug( 'kernel-ssl-zone', 'The view cannot choose access mode itself.' );
            return false;
        }

        return true;
    }
static function isKeepModeView ( $ module , $ view ) { $ ini = eZINI :: instance ( ) ; $ viewsModes = $ ini -> variable ( 'SSLZoneSettings' , 'ModuleViewAccessMode' ) ; $ sslViews = array_keys ( $ viewsModes , 'ssl' ) ; $ keepModeViews = array_keys ( $ viewsModes , 'keep' ) ; if ( eZSSLZone :: viewIsInArray ( $ module , $ view , $ keepModeViews ) < eZSSLZone :: viewIsInArray ( $ module , $ view , $ sslViews ) ) { eZDebugSetting :: writeDebug ( 'kernel-ssl-zone' , 'The view cannot choose access mode itself.' ) ; return false ; } return true ; }
\static
\return true if the view is defined as 'keep'
\ static \ return true if the view is defined as keep