original_string: 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']);
      }
code: 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']);
      }
code_tokens: 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' ] ) ; }
docstring: Delete a competency framework
  
  @param int $id The competency framework id
  @return boolean
docstring_tokens: Delete a competency framework