KataoMemberMailingForm.class.php 487 B

123456789101112131415161718
  1. <?php
  2. class KataoMemberMailingForm extends sfForm {
  3. public function configure()
  4. {
  5. $this->WidgetSchema['groups'] = new sfWidgetFormSchema();
  6. foreach(KataoMemberGroupPeer::getAllGroupsObject() as $group){
  7. $this->widgetSchema['groups']
  8. [$group->Id] = new sfWidgetFormInputCheckbox();
  9. $this->validatorSchema["groups"]
  10. [$category->Id] = new sfValidatorPass();
  11. // $this->widgetSchema["groups"]->setLabel($group->Id, $group->Name);
  12. }
  13. }
  14. }