To flesh this out more -- we have the following schema:

Instrument:
    columns:
        name: { type: string(255), notnull: true, unique: true }
        description: clob

Question:
    columns:
        instrument_id: { type: integer, notnull: true }
        item_number: { type: integer, notnull: true }
        name: string(255)
        type_id: integer
    relations:
        Instrument: { local: instrument_id, foreign: id, foreignAlias:
Instrument }

Test:
    actAs: [ Timestampable ]
    columns:
        client_id: { type: integer, notnull: true }
        staff_id: { type: integer, notnull: true }
        instrument_id: { type: integer, notnull: true }
    relations:
        Instrument: { local: instrument_id, foreign: id, foreignAlias:
Instrument }
        Staff: { local: staff_id, foreign: id, foreignAlias: Test }
        Instrument: { local: instrument_id, foreign: id, foreignAlias:
Instrument }

Answer:
    columns:
        test_id: { type: integer, notnull: true }
        question_id: { type: integer, notnull: true }
        response: string


We need to generate a form for the test model. It will have many
questions whose answers goto into the answers

We know about 
http://itsmajax.com/2010/10/09/customize-sfguarduser-sfdocrineguard/
and use it for another for another model.


any ideas?


On Mar 1, 1:30 pm, ArtHuston <a...@arthuston.com> wrote:
> We have tables with many test questions. Instead of putting each test type
> in its own table, we are exploring the idea of storing the test meta-data in
> a table, and generating the forms for each test from the meta-data. This
> would give the user the ability to add/delete/view/edit the test meta-data.
>
> Does anyone have any examples of this technique, or Symfony plugins that
> would help?
>
> Thanks!

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to