Jump to content

Need Correct Method Calling Syntax


bigdspbandj

Recommended Posts

What is the correct syntax when part of my method call is a variable?

DatabaseObject_$VARIABLE_ResidentData::LoginFailure

 

The class name is dependent on who is accessing the application. The class is DatabaseObject_VARIABLENAME_ResidentData.

 

The method exists, and it works when I replaced the variable name and hardcode the actual class name.

 

Link to comment
https://forums.phpfreaks.com/topic/102402-need-correct-method-calling-syntax/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.