Let's say I have a "post" and "list" strings and I would like to call Post class and invoke the list method. How do I do that?
Thanks in advance.
Printable View
Let's say I have a "post" and "list" strings and I would like to call Post class and invoke the list method. How do I do that?
Thanks in advance.
call_user_func(array('Post', 'list'));
Thanks a bunch PG