original_string: public static function complete_plan($planid) {
          $params = self::validate_parameters(self::complete_plan_parameters(), array(
              'planid' => $planid
          ));
  
          return api::complete_plan($params['planid']);
      }
code: public static function complete_plan($planid) {
          $params = self::validate_parameters(self::complete_plan_parameters(), array(
              'planid' => $planid
          ));
  
          return api::complete_plan($params['planid']);
      }
code_tokens: public static function complete_plan ( $ planid ) { $ params = self :: validate_parameters ( self :: complete_plan_parameters ( ) , array ( 'planid' => $ planid ) ) ; return api :: complete_plan ( $ params [ 'planid' ] ) ; }
docstring: Complete Learning plan.
  
  @param int $planid plan id (id is required)
  @return boolean
docstring_tokens: Complete Learning plan .