extension/ezoe/ezxmltext/handlers/input/ezoexmlinput.php
function customObjectAttributeHTTPAction( $http, $action, $contentObjectAttribute )
    {
        switch ( $action )
        {
            case 'enable_editor':
            {
                self::setIsEditorEnabled( true );
            } break;
            case 'disable_editor':
            {
                if ( $this->currentUserHasAccess( 'disable_editor' ) )
                    self::setIsEditorEnabled( false );
                else
                    eZDebug::writeError( 'Current user does not have access to disable editor, but trying anyway!', __METHOD__ );
            } break;
            default :
            {
                eZDebug::writeError( 'Unknown custom HTTP action: ' . $action, __METHOD__ );
            } break;
        }
    }
function customObjectAttributeHTTPAction( $http, $action, $contentObjectAttribute )
    {
        switch ( $action )
        {
            case 'enable_editor':
            {
                self::setIsEditorEnabled( true );
            } break;
            case 'disable_editor':
            {
                if ( $this->currentUserHasAccess( 'disable_editor' ) )
                    self::setIsEditorEnabled( false );
                else
                    eZDebug::writeError( 'Current user does not have access to disable editor, but trying anyway!', __METHOD__ );
            } break;
            default :
            {
                eZDebug::writeError( 'Unknown custom HTTP action: ' . $action, __METHOD__ );
            } break;
        }
    }
function customObjectAttributeHTTPAction ( $ http , $ action , $ contentObjectAttribute ) { switch ( $ action ) { case 'enable_editor' : { self :: setIsEditorEnabled ( true ) ; } break ; case 'disable_editor' : { if ( $ this -> currentUserHasAccess ( 'disable_editor' ) ) self :: setIsEditorEnabled ( false ) ; else eZDebug :: writeError ( 'Current user does not have access to disable editor, but trying anyway!' , __METHOD__ ) ; } break ; default : { eZDebug :: writeError ( 'Unknown custom HTTP action: ' . $ action , __METHOD__ ) ; } break ; } }
customObjectAttributeHTTPAction
Custom http actions exposed by the editor.

@param  eZHTTPTool $http
@param  string $action
@param  eZContentObjectAttribute $contentObjectAttribute
customObjectAttributeHTTPAction Custom http actions exposed by the editor .