well...lets not store the action in the object property...
i just want the action received from the query string to invoke the related method in the class....
if i got edit (or delete) action, i want it to be formatted into Edit() or Delete(), which i have done using
ucwords($_GET['action']) . '()';
How can i invoke the relevant method?
Currently, i've found out a solution just to please my boss...
but i dont want to use if clause, i want to optimize it in such a way that when an action is received, we capitalize
the first letter, concat () and invoke the relevant method....