I decided to use sfGuardPlugin so I put in y schema.yml:
propel:
  _attributes:
    package: lib.model
    defaultIdMethod: native
  pfc_grupo:
    id: ~
    GRUPO_ID: { type: integer, foreignTable:sf_guard_group,
foreignReference: id, required: true, onDelete: cascade }
    LINEAS_INVES: { type: CLOB}
    created_at: ~
  pfc_usuario:
    id: ~
    USER_ID: { type: integer, foreignTable:sf_guard_user,
foreignReference: id, required: true, onDelete: cascade }
    NOMBRE: { type: VARCHAR, size: '255', required: true }
    APELLIDOS: { type: VARCHAR, size: '255' }
    EMAIL: { type: VARCHAR, size: '255' }
    HOMEPAGE: { type: VARCHAR, size: '255'}
    TELEFONO: { type: INTEGER }
    SCR_IMG: { type: VARCHAR, size: '255' }
    trabaja_en: { type: INTEGER, required: true, foreignTable:
pfc_proyecto, foreignReference: id, onDelete: cascade }
    created_at: ~
...

but now I don't know how,for example, access to name and description
in grupo/indexSuccess.php.
I try:

<h2> <?php echo $grupo->getGrupoId()->getName() ?> </h2>

but Symfony response me with an error window:

Oops! An Error Occurred
The server returned a "500 Internal Server Error".

-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to