> someplace to look at?
Now I have no place to publish.I hope I can pull it off.
I will find a repository to be public some time soon.
2009/6/5 Ed Lazor <edlazor@internetarchitects.biz>:
>>> if you could pass a model to Zend_Form and have it automatically
>>> build the form based on database field meta data with the option to
>>> override this with definitions within the form itself.
>>
>> Thank you for your comment. I didn't think of it as that *automatically*.
>> But off the top my head, I usually get a model from bootstrap's
>> pluginResource provided by Zend_Application.
>> I will do it on if there is no config to the form but only tablename,
>> a factory at the bootstrap will make a config of fields from model
>> $info = $table->info();$info['metadata'];
>> And if the config has a customized flag. no update fields.
>
> That sounds really interesting - any chance of you posting an example
> someplace to look at?
>
> -Ed
>
没有评论:
发表评论