public static function delete_competency_framework($id) {
        $params = self::validate_parameters(self::delete_competency_framework_parameters(), array(
            'id' => $id,
        ));

        $framework = api::read_framework($params['id']);
        self::validate_context($framework->get_context());

        return api::delete_framework($params['id']);
    }
public static function delete_competency_framework($id) {
        $params = self::validate_parameters(self::delete_competency_framework_parameters(), array(
            'id' => $id,
        ));

        $framework = api::read_framework($params['id']);
        self::validate_context($framework->get_context());

        return api::delete_framework($params['id']);
    }
public static function delete_competency_framework ( $ id ) { $ params = self :: validate_parameters ( self :: delete_competency_framework_parameters ( ) , array ( 'id' => $ id , ) ) ; $ framework = api :: read_framework ( $ params [ 'id' ] ) ; self :: validate_context ( $ framework -> get_context ( ) ) ; return api :: delete_framework ( $ params [ 'id' ] ) ; }
Delete a competency framework

@param int $id The competency framework id
@return boolean
Delete a competency framework