public function removeProcessed()
    {
        if ( $this->hasAttribute( 'action' ) )
        {
            unset( $this->attributes['action'] );
        }

        if ( $this->getItemCount() > 0 )
        {
            unset( $this->attributes['items'] );
        }

        return $this;
    }
public function removeProcessed()
    {
        if ( $this->hasAttribute( 'action' ) )
        {
            unset( $this->attributes['action'] );
        }

        if ( $this->getItemCount() > 0 )
        {
            unset( $this->attributes['items'] );
        }

        return $this;
    }
public function removeProcessed ( ) { if ( $ this -> hasAttribute ( 'action' ) ) { unset ( $ this -> attributes [ 'action' ] ) ; } if ( $ this -> getItemCount ( ) > 0 ) { unset ( $ this -> attributes [ 'items' ] ) ; } return $ this ; }
Cleanup processed objects, removes action attribute
removes all items marked with "remove" action

@return eZPageBlock
Cleanup processed objects removes action attribute removes all items marked with remove action