[Phpmyadmin-devel] [ Exporting Relations Schema] Project

Michal Čihař michal at cihar.com
Tue Jun 22 16:09:05 CEST 2010


Hi

Dne Tue, 22 Jun 2010 17:55:11 +0500
ADnan <hiddenpearls at gmail.com> napsal(a):

> 1. I am thinking to code a config class in which I define all the Global
> vars that are used in Schema Export ?? It will be better instead of using
> Global Vars in methods. what do u think ?
> 
> Class name will be PMA_SCHEMA_config ..

Why you need separate class for configuration? Shouldn't that be part
of either PMA_Config (if it is some global settings) or PMA_Schema (if
it is schema specific).

You don't need any global variables for both, just use method
attributes for this.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20100622/6a4d8ddf/attachment.sig>


More information about the Developers mailing list