Marriage is marriage to Canada, it doesn't matter what kind of marriage as long as it's legal.
Once you have lived together with your partner for 12 months to become common-law, or after you get married, only then can then sponsor her for PR.
If she comes to Canada as a visitor and then you get married here, you can file her PR app using the "Inside Canada" method and she will get an Open Work Permit to stay in Canada until her PR app is approved.
Hopefully you have a well established dating and engagement history already to support your relationship and eventual marriage. You should move over to the Family Class section of the forum if you want to ask more questions.