Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_jobs
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_jobs
Commits
37e8a271
Commit
37e8a271
authored
7 years ago
by
Torsten Oppermann
Browse files
Options
Downloads
Patches
Plain Diff
[TASk] Working on validation of the application form
parent
95d7695a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Classes/Domain/Model/JobApplication.php
+6
-1
6 additions, 1 deletion
Classes/Domain/Model/JobApplication.php
with
6 additions
and
1 deletion
Classes/Domain/Model/JobApplication.php
+
6
−
1
View file @
37e8a271
...
...
@@ -74,6 +74,7 @@ class JobApplication extends AbstractEntity {
/**
* @var string $zip
* @validate NotEmpty
*/
protected
$zip
=
''
;
...
...
@@ -97,6 +98,7 @@ class JobApplication extends AbstractEntity {
/**
* @var int $birthDate
* @validate NotEmpty
*/
protected
$birthDate
=
''
;
...
...
@@ -119,16 +121,19 @@ class JobApplication extends AbstractEntity {
/**
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference> $coverLetter
* @validate NotEmpty
*/
protected
$coverLetter
;
/**
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference> $cv
* @validate NotEmpty
*/
protected
$cv
;
/**
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference> $certificates
* @validate NotEmpty
*/
protected
$certificates
;
...
...
@@ -293,7 +298,7 @@ class JobApplication extends AbstractEntity {
/**
* @param int $birthDate
*/
public
function
setBirthDate
(
string
$birthDate
)
{
public
function
setBirthDate
(
$birthDate
)
{
$this
->
birthDate
=
(
int
)
$birthDate
;
}
...
...
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