예제 #1
0
 /**
  *
  * @see ApineEntityInterface::delete()
  */
 public function delete()
 {
     parent::_destroy();
 }
예제 #2
0
 /**
  * @see EntityInterface::delete()
  */
 public function delete()
 {
     if ($this->loaded == 0) {
         $this->load();
     }
     parent::_destroy();
     // Remove from the database
 }
예제 #3
0
 /**
  * @see EntityInterface::delete()
  */
 public function delete()
 {
     if ($this->loaded == 0) {
         $this->load();
     }
     $db = new Apine\Core\Database();
     $db->delete('apine_users_user_groups', array("user_id" => $this->get_id()));
     parent::_destroy();
 }