troubleshooting Question

Assume that mam class is a black box new user class does not have access to database

Avatar of rgb192
rgb192Flag for United States of America asked on
PHP
24 Comments1 Solution321 ViewsLast Modified:
followup to

https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28336179.html

Assume that mam class is a black box
new user class does not have access to database


mam class has some methods that allow me to run instance queries in index.php

there is no customized method in mam class that loops using foreach (array or select table)

I can not run queries without a method from mam class

I do not want to edit mam class because whenever programmer makes edit: sends new class to me (which will not have my old edits)


Is there a way to create user class with instance of hardcoded usernames and passwords using object oriented code with no database connection.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 24 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 24 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros