Formularios en Symfony

Formularios en Symfony : Al agregar un articulo (modelo) empezamos a trabajar con los formularios y vemos el tema de los include_partial(”).

Encontré la documentación en la siguiente pagina:

// Include the frontend/modules/mymodule/templates/_mypartial1.php partial
// As the template and the partial are in the same module,
// you can omit the module name
<?php include_partial('mypartial1') ?>

// Include the frontend/modules/foobar/templates/_mypartial2.php partial
// The module name is compulsory in that case
<?php include_partial('foobar/mypartial2') ?>

// Include the frontend/templates/_mypartial3.php partial
// It is considered as part of the 'global' module
<?php include_partial('global/mypartial3') ?>

http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer

post-author