![]() |
Classes isues
Hello to everybody. Im not a guru in php, so i want to ask if is possible to use function and variables from a class without creating an object of that class.
To be more explicite. I have a general class that contain a lot of functions that do things that are not related. I just want to use them. |
Yes, use static functions in the class.
PHP Code:
|
Quote:
|
Well thanks. I didnt expext to so rapid replies.
Its very explicite the example. |
| All times are GMT. The time now is 08:17 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0