Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sygal
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
sygal
Commits
f139f200
Commit
f139f200
authored
5 years ago
by
Jean-Philippe Metivier
Browse files
Options
Downloads
Patches
Plain Diff
Ajout de l'attribut ine dans Individu et ajout de la colonne dans l'export
parent
c2126f84
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
module/Application/src/Application/Controller/ExportController.php
+1
-0
1 addition, 0 deletions
...plication/src/Application/Controller/ExportController.php
module/Application/src/Application/Entity/Db/Individu.php
+25
-0
25 additions, 0 deletions
module/Application/src/Application/Entity/Db/Individu.php
with
26 additions
and
0 deletions
module/Application/src/Application/Controller/ExportController.php
+
1
−
0
View file @
f139f200
...
...
@@ -32,6 +32,7 @@ class ExportController extends AbstractController
'Adresse électronique'
=>
function
(
These
$these
)
{
return
$these
->
getDoctorant
()
->
getIndividu
()
->
getEmail
();
},
'Adresse électronique personnelle'
=>
function
(
These
$these
)
{
return
$these
->
getDoctorant
()
->
getIndividu
()
->
getMailContact
();
},
'Numéro étudiant'
=>
function
(
These
$these
)
{
return
$this
->
sourceCodeStringHelper
->
removePrefixFrom
(
$these
->
getDoctorant
()
->
getSourceCode
());
},
'I.N.E.'
=>
function
(
These
$these
)
{
return
$these
->
getDoctorant
()
->
getIndividu
()
->
getIne
();
},
//These
'Identifiant de la thèse'
=>
function
(
These
$these
)
{
return
$these
->
getSourceCode
();
},
'Titre'
=>
function
(
These
$these
)
{
return
$these
->
getTitre
();
},
...
...
This diff is collapsed.
Click to expand it.
module/Application/src/Application/Entity/Db/Individu.php
+
25
−
0
View file @
f139f200
...
...
@@ -98,6 +98,11 @@ class Individu implements HistoriqueAwareInterface, SourceAwareInterface
*/
private
$mailsConfirmations
;
/**
* @var string
*/
private
$ine
;
public
function
__construct
()
{
$this
->
mailsConfirmations
=
new
ArrayCollection
();
...
...
@@ -470,4 +475,24 @@ class Individu implements HistoriqueAwareInterface, SourceAwareInterface
}
return
null
;
}
/**
* @return string
*/
public
function
getIne
()
{
return
$this
->
ine
;
}
/**
* @param string $ine
* @return Individu
*/
public
function
setIne
(
$ine
)
{
$this
->
ine
=
$ine
;
return
$this
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment