public static function complete_plan($planid) {
        $params = self::validate_parameters(self::complete_plan_parameters(), array(
            'planid' => $planid
        ));

        return api::complete_plan($params['planid']);
    }
public static function complete_plan($planid) {
        $params = self::validate_parameters(self::complete_plan_parameters(), array(
            'planid' => $planid
        ));

        return api::complete_plan($params['planid']);
    }
public static function complete_plan ( $ planid ) { $ params = self :: validate_parameters ( self :: complete_plan_parameters ( ) , array ( 'planid' => $ planid ) ) ; return api :: complete_plan ( $ params [ 'planid' ] ) ; }
Complete Learning plan.

@param int $planid plan id (id is required)
@return boolean
Complete Learning plan .