<div dir="ltr"><div><div><div><div><div>hi to all.. i try to make a minimal framework to work in gambas as a library/component to load..<br><br></div>i try to see how to handle best way to use connections by name.. just like codeigniter framework does.. i mean.. <br><br></div>in CI framework, the coder just only load the connection "by name" as defined on settings in the "database.conf" file configuration.. <br><br></div>i have a collection of all the configuartion files that inherits from Settings and collection (a special class just like settings but handle all the variables like collection but admit a null value)<br><br></div>basically how can i emulate the creation of class like in php : <br> $newclass = $this->config("database1") <br><br>??<br><br></div>of course "newclass" its a connection gambas class <br><div><div><div><div><div><div><br><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.com</a></font></div></div></div>
</div></div></div></div></div></div></div>