public function __construct() { $Controler_Main = Controler_Main::getInstance(); $this->MySql = MySqldb::getInstance(); $this->MySql->connect(); }