-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from PabloRN/master
Terminé el buscador, trabajo en los show de los recursos, terminado la función solicitar aviso de prestamo
- Loading branch information
Showing
61 changed files
with
2,069 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
require_once dirname(__FILE__).'/../lib/autorGeneratorConfiguration.class.php'; | ||
require_once dirname(__FILE__).'/../lib/autorGeneratorHelper.class.php'; | ||
|
||
/** | ||
* autor actions. | ||
* | ||
* @package bibliocnic | ||
* @subpackage autor | ||
* @author Your name here | ||
* @version SVN: $Id: actions.class.php 12474 2008-10-31 10:41:27Z fabien $ | ||
*/ | ||
class autorActions extends autoAutorActions | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
generator: | ||
class: dmAdminDoctrineGenerator | ||
param: | ||
model_class: Autor | ||
theme: dmAdmin | ||
non_verbose_templates: true | ||
with_show: false | ||
route_prefix: autor | ||
with_doctrine_route: false | ||
config: | ||
actions: ~ | ||
fields: | ||
recursos_list: | ||
label: Recursos | ||
list: | ||
display: | ||
- '=id' | ||
- nombre | ||
- apellidos | ||
sort: | ||
- apellidos | ||
- asc | ||
table_method: getAdminListQuery | ||
table_count_method: ~ | ||
sortable: false | ||
filter: | ||
display: | ||
- id | ||
- nombre | ||
- apellidos | ||
form: | ||
display: | ||
Recursos: [recursos_list] | ||
Others: [nombre, apellidos] | ||
class: AutorAdminForm | ||
fields: { } | ||
edit: ~ | ||
new: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
/** | ||
* autor admin export | ||
* | ||
* @package bibliocnic | ||
* @subpackage autor | ||
* @author Your name here | ||
*/ | ||
class AutorAdminExport extends myDoctrineTableExport | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
/** | ||
* autor admin form | ||
* | ||
* @package bibliocnic | ||
* @subpackage autor | ||
* @author Your name here | ||
*/ | ||
class AutorAdminForm extends BaseAutorForm | ||
{ | ||
public function configure() | ||
{ | ||
parent::configure(); | ||
$this->validatorSchema['nombre'] = new sfValidatorRegex(array ('pattern' => '(^[a-zA-Z]+$)', 'required' => false), array('invalid' => 'El nombre no debe contener números o símbolos')); | ||
$this->validatorSchema['apellidos'] = new sfValidatorRegex(array ('pattern' => '(^[a-zA-Z]+$)', 'required' => false), array('invalid' => 'Los apellidos no deben contener números o símbolos')); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
apps/admin/modules/autor/lib/autorGeneratorConfiguration.class.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
/** | ||
* autor module configuration. | ||
* | ||
* @package bibliocnic | ||
* @subpackage autor | ||
* @author Your name here | ||
* @version SVN: $Id: configuration.php 12474 2008-10-31 10:41:27Z fabien $ | ||
*/ | ||
class autorGeneratorConfiguration extends BaseAutorGeneratorConfiguration | ||
{ | ||
} |
13 changes: 13 additions & 0 deletions
13
apps/admin/modules/autor/lib/autorGeneratorHelper.class.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
/** | ||
* autor module helper. | ||
* | ||
* @package bibliocnic | ||
* @subpackage autor | ||
* @author Your name here | ||
* @version SVN: $Id: helper.php 12474 2008-10-31 10:41:27Z fabien $ | ||
*/ | ||
class autorGeneratorHelper extends BaseAutorGeneratorHelper | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
require_once dirname(__FILE__).'/../lib/prestamoGeneratorConfiguration.class.php'; | ||
require_once dirname(__FILE__).'/../lib/prestamoGeneratorHelper.class.php'; | ||
|
||
/** | ||
* prestamo actions. | ||
* | ||
* @package bibliocnic | ||
* @subpackage prestamo | ||
* @author Your name here | ||
* @version SVN: $Id: actions.class.php 12474 2008-10-31 10:41:27Z fabien $ | ||
*/ | ||
class prestamoActions extends autoPrestamoActions | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
generator: | ||
class: dmAdminDoctrineGenerator | ||
param: | ||
model_class: Prestamo | ||
theme: dmAdmin | ||
non_verbose_templates: true | ||
with_show: false | ||
route_prefix: prestamo | ||
with_doctrine_route: false | ||
config: | ||
actions: ~ | ||
fields: { } | ||
list: | ||
display: | ||
- '=id' | ||
- dm_user_id | ||
- recurso_id | ||
- recurso_id | ||
- recurso_id | ||
- recurso_id | ||
- recurso_id | ||
- recurso_id | ||
- recurso_id | ||
- recurso_id | ||
- fecha_prestamo | ||
- fecha_devolucion | ||
- prorroga | ||
sort: | ||
- id | ||
- asc | ||
table_method: getAdminListQuery | ||
table_count_method: ~ | ||
sortable: false | ||
filter: | ||
display: | ||
- id | ||
- prorroga | ||
- dm_user_id | ||
- recurso_id | ||
- fecha_prestamo | ||
- fecha_devolucion | ||
form: | ||
display: | ||
NONE: [prorroga, dm_user_id, recurso_id, recurso_id, recurso_id, recurso_id, recurso_id, recurso_id, recurso_id, recurso_id] | ||
Others: [fecha_prestamo, fecha_devolucion] | ||
class: PrestamoAdminForm | ||
fields: { } | ||
edit: ~ | ||
new: ~ |
12 changes: 12 additions & 0 deletions
12
apps/admin/modules/prestamo/lib/PrestamoAdminExport.class.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
/** | ||
* prestamo admin export | ||
* | ||
* @package bibliocnic | ||
* @subpackage prestamo | ||
* @author Your name here | ||
*/ | ||
class PrestamoAdminExport extends myDoctrineTableExport | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
/** | ||
* prestamo admin form | ||
* | ||
* @package bibliocnic | ||
* @subpackage prestamo | ||
* @author Your name here | ||
*/ | ||
class PrestamoAdminForm extends BasePrestamoForm | ||
{ | ||
public function configure() | ||
{ | ||
parent::configure(); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
apps/admin/modules/prestamo/lib/prestamoGeneratorConfiguration.class.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
/** | ||
* prestamo module configuration. | ||
* | ||
* @package bibliocnic | ||
* @subpackage prestamo | ||
* @author Your name here | ||
* @version SVN: $Id: configuration.php 12474 2008-10-31 10:41:27Z fabien $ | ||
*/ | ||
class prestamoGeneratorConfiguration extends BasePrestamoGeneratorConfiguration | ||
{ | ||
} |
13 changes: 13 additions & 0 deletions
13
apps/admin/modules/prestamo/lib/prestamoGeneratorHelper.class.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
/** | ||
* prestamo module helper. | ||
* | ||
* @package bibliocnic | ||
* @subpackage prestamo | ||
* @author Your name here | ||
* @version SVN: $Id: helper.php 12474 2008-10-31 10:41:27Z fabien $ | ||
*/ | ||
class prestamoGeneratorHelper extends BasePrestamoGeneratorHelper | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
apps/admin/modules/solicitudPrestamo/actions/actions.class.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
require_once dirname(__FILE__).'/../lib/solicitudPrestamoGeneratorConfiguration.class.php'; | ||
require_once dirname(__FILE__).'/../lib/solicitudPrestamoGeneratorHelper.class.php'; | ||
|
||
/** | ||
* solicitudPrestamo actions. | ||
* | ||
* @package bibliocnic | ||
* @subpackage solicitudPrestamo | ||
* @author Your name here | ||
* @version SVN: $Id: actions.class.php 12474 2008-10-31 10:41:27Z fabien $ | ||
*/ | ||
class solicitudPrestamoActions extends autoSolicitudPrestamoActions | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
generator: | ||
class: dmAdminDoctrineGenerator | ||
param: | ||
model_class: SolicitudPrestamo | ||
theme: dmAdmin | ||
non_verbose_templates: true | ||
with_show: false | ||
route_prefix: solicitud_prestamo | ||
with_doctrine_route: false | ||
config: | ||
actions: ~ | ||
fields: { } | ||
list: | ||
display: | ||
- '=id' | ||
- dm_user_id | ||
- recurso_id | ||
- created_at | ||
- updated_at | ||
sort: | ||
- created_at | ||
- desc | ||
table_method: getAdminListQuery | ||
table_count_method: ~ | ||
sortable: false | ||
filter: | ||
display: | ||
- id | ||
- dm_user_id | ||
- recurso_id | ||
- created_at | ||
- updated_at | ||
form: | ||
display: | ||
NONE: [dm_user_id, recurso_id] | ||
class: SolicitudPrestamoAdminForm | ||
fields: { } | ||
edit: ~ | ||
new: ~ |
12 changes: 12 additions & 0 deletions
12
apps/admin/modules/solicitudPrestamo/lib/SolicitudPrestamoAdminExport.class.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
/** | ||
* solicitudPrestamo admin export | ||
* | ||
* @package bibliocnic | ||
* @subpackage solicitudPrestamo | ||
* @author Your name here | ||
*/ | ||
class SolicitudPrestamoAdminExport extends myDoctrineTableExport | ||
{ | ||
} |
16 changes: 16 additions & 0 deletions
16
apps/admin/modules/solicitudPrestamo/lib/SolicitudPrestamoAdminForm.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
/** | ||
* solicitudPrestamo admin form | ||
* | ||
* @package bibliocnic | ||
* @subpackage solicitudPrestamo | ||
* @author Your name here | ||
*/ | ||
class SolicitudPrestamoAdminForm extends BaseSolicitudPrestamoForm | ||
{ | ||
public function configure() | ||
{ | ||
parent::configure(); | ||
} | ||
} |
Oops, something went wrong.