Example #1
0
 /**
  * Destroy the specific tag by ID.
  * 
  * @param mixed $id The ID.
  *
  * @access public
  *
  * @return mixed Value.
  */
 public function delete_destroy($id)
 {
     $tag = Slendertag::find($id);
     if ($tag !== null) {
         $tag->delete();
     } else {
         return;
     }
 }