jd2007 Posted September 7, 2007 Share Posted September 7, 2007 What function do i need to use to get all of the construct's arguments of a class ? Link to comment https://forums.phpfreaks.com/topic/68313-solved-what-function-to-use-to-get-all-the-constructs-arguments-of-a-class/ Share on other sites More sharing options...
vijayfreaks Posted September 7, 2007 Share Posted September 7, 2007 Hi.. see the Class/Object Functions in php manuals.. get_object_vars ,get_class_vars .. -Vijay Link to comment https://forums.phpfreaks.com/topic/68313-solved-what-function-to-use-to-get-all-the-constructs-arguments-of-a-class/#findComment-343496 Share on other sites More sharing options...
trq Posted September 7, 2007 Share Posted September 7, 2007 The only way I can see that this is possible from outside of the class would be using reflection. Otherwise, from within the function itself you can call func_get_args. Link to comment https://forums.phpfreaks.com/topic/68313-solved-what-function-to-use-to-get-all-the-constructs-arguments-of-a-class/#findComment-343497 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.