kernel/classes/datatypes/ezbinaryfile/ezbinaryfiletype.php
private function isDeletingFile( eZHTTPTool $http, eZContentObjectAttribute $contentObjectAttribute )
    {
        $isDeletingFile = false;
        if ( $http->hasPostVariable( 'CustomActionButton' ) )
        {
            $customActionArray = $http->postVariable( 'CustomActionButton' );
            $attributeID = $contentObjectAttribute->attribute( 'id' );
            if ( isset( $customActionArray[$attributeID . '_delete_binary'] ) )
            {
                $isDeletingFile = true;
            }
        }

        return $isDeletingFile;
    }
private function isDeletingFile( eZHTTPTool $http, eZContentObjectAttribute $contentObjectAttribute )
    {
        $isDeletingFile = false;
        if ( $http->hasPostVariable( 'CustomActionButton' ) )
        {
            $customActionArray = $http->postVariable( 'CustomActionButton' );
            $attributeID = $contentObjectAttribute->attribute( 'id' );
            if ( isset( $customActionArray[$attributeID . '_delete_binary'] ) )
            {
                $isDeletingFile = true;
            }
        }

        return $isDeletingFile;
    }
private function isDeletingFile ( eZHTTPTool $ http , eZContentObjectAttribute $ contentObjectAttribute ) { $ isDeletingFile = false ; if ( $ http -> hasPostVariable ( 'CustomActionButton' ) ) { $ customActionArray = $ http -> postVariable ( 'CustomActionButton' ) ; $ attributeID = $ contentObjectAttribute -> attribute ( 'id' ) ; if ( isset ( $ customActionArray [ $ attributeID . '_delete_binary' ] ) ) { $ isDeletingFile = true ; } } return $ isDeletingFile ; }
Checks if current HTTP request is asking for current binary file deletion
@param eZHTTPTool $http
@param eZContentObjectAttribute $contentObjectAttribute
@return bool
Checks if current HTTP request is asking for current binary file deletion