Hi Tomas,
Unfortunately, there aren't any docs describing how to do that, but you can get an idea just reading the existing code. Of course, you'll need some PHP and Symfony background. Please, take into account that sfDcPlugin contents some actions which extend main classes in apps/qubit/modules/informationobject.
You can implement these new fields as database columns or Qubit properties. The last method could be faster and with no big differences. A good example would be "Standard number" from RAD. The next files are directly involved with this field:
plugins/sfRadPlugin/modules/sfRadPlugin/actions/editAction.class.php
plugins/sfRadPlugin/modules/sfRadPlugin/actions/indexAction.class.php
plugins/sfRadPlugin/modules/sfRadPlugin/templates/editSuccess.php
plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
plugins/sfRadPlugin/lib/sfRadPlugin.class.php
Please, don't hesitate to contact us in case that you need more help.
Regards,
--
Jesús García Crespo,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com |
+1.604.527.2056