Example #1
0
 /**
  * Called from admin element controller when element is removed
  *
  * @param   bool  $drop  has the user elected to drop column?
  *
  * @return  bool  save ok or not
  */
 public function onRemove($drop = false)
 {
     $this->deleteJoins((int) $this->id);
     parent::onRemove($drop);
 }