extension/ezoe/ezxmltext/handlers/input/ezoexmlinput.php
function isValid()
    {
        if ( !$this->currentUserHasAccess() )
        {
            eZDebug::writeNotice('Current user does not have access to ezoe, falling back to normal xml editor!', __METHOD__ );
            return false;
        }

        if ( !self::browserSupportsDHTMLType() )
        {
            if ( $this->currentUserHasAccess( 'disable_editor' ) )
            {
                eZDebug::writeNotice('Current browser is not supported by ezoe, falling back to normal xml editor!', __METHOD__ );
                return false;
            }
            eZDebug::writeWarning('Current browser is not supported by ezoe, but user does not have access to disable editor!', __METHOD__ );
        }

        return true;
    }
function isValid()
    {
        if ( !$this->currentUserHasAccess() )
        {
            eZDebug::writeNotice('Current user does not have access to ezoe, falling back to normal xml editor!', __METHOD__ );
            return false;
        }

        if ( !self::browserSupportsDHTMLType() )
        {
            if ( $this->currentUserHasAccess( 'disable_editor' ) )
            {
                eZDebug::writeNotice('Current browser is not supported by ezoe, falling back to normal xml editor!', __METHOD__ );
                return false;
            }
            eZDebug::writeWarning('Current browser is not supported by ezoe, but user does not have access to disable editor!', __METHOD__ );
        }

        return true;
    }
function isValid ( ) { if ( ! $ this -> currentUserHasAccess ( ) ) { eZDebug :: writeNotice ( 'Current user does not have access to ezoe, falling back to normal xml editor!' , __METHOD__ ) ; return false ; } if ( ! self :: browserSupportsDHTMLType ( ) ) { if ( $ this -> currentUserHasAccess ( 'disable_editor' ) ) { eZDebug :: writeNotice ( 'Current browser is not supported by ezoe, falling back to normal xml editor!' , __METHOD__ ) ; return false ; } eZDebug :: writeWarning ( 'Current browser is not supported by ezoe, but user does not have access to disable editor!' , __METHOD__ ) ; } return true ; }
isValid
Called by handler loading code to see if this is a valid handler.

@return bool
isValid Called by handler loading code to see if this is a valid handler .