original_string: public static function unlink_plan_from_template($planid) {
          $params = self::validate_parameters(self::unlink_plan_from_template_parameters(), array(
              'planid' => $planid,
          ));
  
          $plan = new plan($params['planid']);
          self::validate_context($plan->get_context());
  
          return api::unlink_plan_from_template($plan);
      }
code: public static function unlink_plan_from_template($planid) {
          $params = self::validate_parameters(self::unlink_plan_from_template_parameters(), array(
              'planid' => $planid,
          ));
  
          $plan = new plan($params['planid']);
          self::validate_context($plan->get_context());
  
          return api::unlink_plan_from_template($plan);
      }
code_tokens: public static function unlink_plan_from_template ( $ planid ) { $ params = self :: validate_parameters ( self :: unlink_plan_from_template_parameters ( ) , array ( 'planid' => $ planid , ) ) ; $ plan = new plan ( $ params [ 'planid' ] ) ; self :: validate_context ( $ plan -> get_context ( ) ) ; return api :: unlink_plan_from_template ( $ plan ) ; }
docstring: Unlink the plan from the template.
  
  @param int $planid The plan id
  @return bool
docstring_tokens: Unlink the plan from the template .