original_string: public static function data_for_competencies_manage_page($competencyframeworkid, $search) {
          global $PAGE;
  
          $params = self::validate_parameters(self::data_for_competencies_manage_page_parameters(), array(
              'competencyframeworkid' => $competencyframeworkid,
              'search' => $search
          ));
  
          $framework = api::read_framework($params['competencyframeworkid']);
          self::validate_context($framework->get_context());
          $output = $PAGE->get_renderer('tool_lp');
  
          $renderable = new output\manage_competencies_page($framework, $params['search'], $framework->get_context(), null);
  
          $data = $renderable->export_for_template($output);
  
          return $data;
      }
code: public static function data_for_competencies_manage_page($competencyframeworkid, $search) {
          global $PAGE;
  
          $params = self::validate_parameters(self::data_for_competencies_manage_page_parameters(), array(
              'competencyframeworkid' => $competencyframeworkid,
              'search' => $search
          ));
  
          $framework = api::read_framework($params['competencyframeworkid']);
          self::validate_context($framework->get_context());
          $output = $PAGE->get_renderer('tool_lp');
  
          $renderable = new output\manage_competencies_page($framework, $params['search'], $framework->get_context(), null);
  
          $data = $renderable->export_for_template($output);
  
          return $data;
      }
code_tokens: public static function data_for_competencies_manage_page ( $ competencyframeworkid , $ search ) { global $ PAGE ; $ params = self :: validate_parameters ( self :: data_for_competencies_manage_page_parameters ( ) , array ( 'competencyframeworkid' => $ competencyframeworkid , 'search' => $ search ) ) ; $ framework = api :: read_framework ( $ params [ 'competencyframeworkid' ] ) ; self :: validate_context ( $ framework -> get_context ( ) ) ; $ output = $ PAGE -> get_renderer ( 'tool_lp' ) ; $ renderable = new output \ manage_competencies_page ( $ framework , $ params [ 'search' ] , $ framework -> get_context ( ) , null ) ; $ data = $ renderable -> export_for_template ( $ output ) ; return $ data ; }
docstring: Loads the data required to render the competencies_manage_page template.
  
  @param int $competencyframeworkid Framework id.
  @param string $search Text to search.
  
  @return boolean
docstring_tokens: Loads the data required to render the competencies_manage_page template .