You mean dynamic modeling (DESCRIBE TABLE and load in PHP), no need, I think
I'll just have class with constants and one method to return them as array
(using reflection) and thats it. Not really an enum, but will do the job.

Regards,
Saša Stamenković


On Tue, Sep 22, 2009 at 12:50 PM, till <klimp...@gmail.com> wrote:

> On Tue, Sep 22, 2009 at 12:07 PM, Саша Стаменковић <umpir...@gmail.com>
> wrote:
> > Idea is to find the way how to use them in PHP. Running away from the
> > problem is not the solution ;)
> >
> > Regards,
> > Saša Stamenković
>
> What Benjamin meant to say is that changing an ENUM is a very
> expensive operation on the table. Probably not the best to abstract
> into PHP.
>
> Can you tell us what exactly you are after?
>
> Till
>

Reply via email to