protected function setupInheritance()
 {
     parent::setupInheritance();
     $this->widgetSchema['cedula'] = new sfWidgetFormInputText();
     $this->validatorSchema['cedula'] = new sfValidatorString(array('max_length' => 10));
     $this->widgetSchema['licencia'] = new sfWidgetFormInputText();
     $this->validatorSchema['licencia'] = new sfValidatorString(array('max_length' => 20, 'required' => false));
     $this->widgetSchema->setNameFormat('propietario[%s]');
 }
 protected function doSave($con = null)
 {
     $this->saveGroupsList($con);
     $this->savePermissionsList($con);
     parent::doSave($con);
 }
 protected function setupInheritance()
 {
     parent::setupInheritance();
     $this->widgetSchema->setNameFormat('cliente[%s]');
 }