Simple Machines Community Forum

Customizing SMF => Bridges and Integrations => Topic started by: krator on March 10, 2020, 11:00:05 AM

Title: smf_2_api in a class?
Post by: krator on March 10, 2020, 11:00:05 AM
Hello.

I'm trying integrate SMF with a framework based in Symfony, and this framework is based in OPP (class and methods), while that SMF is procedural (functions).
I downloaded the file smf_2_api from this topic (https://simplemachines.org/community/index.php?topic=453008.0). This file is procedural too, so, dont working with my framework due to the use of variables and their ambits.

So, has anyone converted this file to OPP before?

Thanks.
Title: Re: smf_2_api in a class?
Post by: Illori on March 10, 2020, 11:02:50 AM
you already have a topic open on this. please keep to one topic per issue.

https://www.simplemachines.org/community/index.php?topic=572125.0