public function __construct() { parent::__construct(); // Init parent contructor $this->db = new db(); // Initiate Database }