application/models/Equipmenttype_model.php
/**
     * Deletes an equipment type object.
     * 
     * @param type $equipmenttype_id
     */
Deletes an equipment type object.


Deletes an equipment type object .
public function delete($equipmenttype_id = null) {
        if(!is_null($equipmenttype_id)) {
            $equipmenttype = R::load('equipmenttype', $equipmenttype_id);
            R::trash($equipmenttype);
        }
    }
public function delete ( $ equipmenttype_id = null ) { if ( ! is_null ( $ equipmenttype_id ) ) { $ equipmenttype = R :: load ( 'equipmenttype' , $ equipmenttype_id ) ; R :: trash ( $ equipmenttype ) ; } }
Deletes an equipment type object.
Deletes an equipment type object .