[eluser]OverZealous[/eluser]
[quote author="emorling" date="1253248620"]If I have a model that needs two Self Relationships. Is it possible without a Join Table? For example with join_self_as?[/quote]
You can make as many self-relationships as you want. If you need many-to-many, no matter the type, you need a join table. Self-relationships always need a dedicated join table for each relationship, while multiple non-self-relationships share the join table. It has to do with the way DMZ determines table names, and there isn't an easy way to change it. One-to-N relationships, of course, can always just use ITFKs.
*_join_as are simply used to override the column names. (They are best avoided whenever possible, trust me.) The table name for self-relationships is always determined from the relationship name.
Quote:Is there any MySQL Column type which will produce a checkbox using DMZ htmlform?
I don't know what you mean. If you want a checkbox, you set the
type in HTMLForm or the validation array to be
checkbox, nothing more, nothing less. Usually you want to use a Boolean type, or you can use a smallint (which you have to use in PostGreSQL because PHP handles PGSQL booleans incorrectly).