Author Topic: [PLUGIN]: rcube_addressbook: Edit/delete did not working  (Read 5935 times)

Offline touzeau

  • Newbie
  • *
  • Posts: 4
[PLUGIN]: rcube_addressbook: Edit/delete did not working
« on: September 19, 2009, 08:17:44 PM »
Hi

I'm currently writting a plugin extends rcube_addressbook with RoundCube 0.3-stable

But there is something wrong on update/delete hooking feature.

When i delete a contact the plugin did not receive the request.
The update button not working, when i click on it, nothing happens..

i have builded the class has :

class artica_addressbook_backend extends rcube_addressbook
{
  public 
$primary_key 'ID';
  public 
$readonly false;
  
  private 
$filter;
  private 
$result;
  
  public function 
__construct(){    
  
	
$this->ready true;
  }
../..

public function 
update($id$save_cols){
	
print_r($save_cols);
}

 function 
delete($ids){
    
$this->debug("Delete $ids requested ",__FUNCTION__);
    return 
false;
  }
  
 function 
delete_all(){
      
$this->debug("delete_all request $ids",__FUNCTION__);
    }  

../..


It seems that events are not sended to the plugin for update & delete ?

did someone encounter the same behavior ??