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);
    }
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);
    }
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 ) ; }
Unlink the plan from the template.

@param int $planid The plan id
@return bool
Unlink the plan from the template .