You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

custom objectHandler - problems with include php files

Received Response
8
Views
1
Comments
edited May 14, 2018 12:33PM in Integrations and APIs 1 comment

Content

Hi,

I have a handler written for Create and Update, which includes (include_once) some php files. Those files define a class and their method.

The code was written by someone else and now I have to add some changes:)

The external files are running the class definition ONLY when the class was not defined earlier. (if !class_exists("classname")). 

Unfortunately, my changes are never run because it pretends that the class is already defined b(even if I check this as the first line of the handler)

 

Please help!!!

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!