application/models/Componenttype_model.php
/**
     * Deletes an component type object.
     * 
     * @param type $componenttype_id
     */
Deletes an component type object.


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