Well, let's say I don't want to make multiple database connections, therefore I've set a variable at the controller class named $db which holds the connection.
and to access it, I need to create a new instance of controller, but my constructor in controller, already runs a method, therefore I've set a new boolean inside the constructor, if it's true, then run the method, else, constructor will not run any methods.
I don't really like that way, nor like to use statics.