application/models/Equipmentunit_model.php
/**
     * Deletes an equipment unit object.
     * 
     * @param type $equipmentunit_id
     */
Deletes an equipment unit object.


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