Loading module/Oscar/src/Oscar/Form/ProjectGrantForm.php +19 −3 Changes for module/Oscar/src/Oscar/Form/ProjectGrantForm.php: 19 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ * @date October 16, 2015 15:34 * @copyright Certic (c) 2015 */ namespace Oscar\Form; use Oscar\Entity\Activity; Loading Loading @@ -35,7 +36,8 @@ class ProjectGrantForm extends Form implements InputFilterProviderInterface, Use private $organizations = false; private $organizationRoles = null; public function setNumbers($numbers, $editable){ public function setNumbers($numbers, $editable) { $this->numbers = $numbers; $this->editable = $editable; } Loading @@ -43,11 +45,13 @@ class ProjectGrantForm extends Form implements InputFilterProviderInterface, Use /** * @return ProjectGrantService */ public function getProjectGrantService(){ public function getProjectGrantService() { return $this->getServiceContainer()->get(ProjectGrantService::class); } public function addOrganizationsLeader($organizations, $organizationRoles){ public function addOrganizationsLeader($organizations, $organizationRoles) { $this->organizations = $organizations; $this->organizationRoles = $organizationRoles; } Loading Loading @@ -436,6 +440,18 @@ class ProjectGrantForm extends Form implements InputFilterProviderInterface, Use 'disciplines' => [ 'required' => false, ], 'pcruPoleCompetitivite' => [ 'required' => false ], 'pcruValidPoleCompetitivite' => [ 'required' => false ], 'pcruSourceFinancement' => [ 'required' => false ], ]; } } Loading
module/Oscar/src/Oscar/Form/ProjectGrantForm.php +19 −3 Changes for module/Oscar/src/Oscar/Form/ProjectGrantForm.php: 19 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ * @date October 16, 2015 15:34 * @copyright Certic (c) 2015 */ namespace Oscar\Form; use Oscar\Entity\Activity; Loading Loading @@ -35,7 +36,8 @@ class ProjectGrantForm extends Form implements InputFilterProviderInterface, Use private $organizations = false; private $organizationRoles = null; public function setNumbers($numbers, $editable){ public function setNumbers($numbers, $editable) { $this->numbers = $numbers; $this->editable = $editable; } Loading @@ -43,11 +45,13 @@ class ProjectGrantForm extends Form implements InputFilterProviderInterface, Use /** * @return ProjectGrantService */ public function getProjectGrantService(){ public function getProjectGrantService() { return $this->getServiceContainer()->get(ProjectGrantService::class); } public function addOrganizationsLeader($organizations, $organizationRoles){ public function addOrganizationsLeader($organizations, $organizationRoles) { $this->organizations = $organizations; $this->organizationRoles = $organizationRoles; } Loading Loading @@ -436,6 +440,18 @@ class ProjectGrantForm extends Form implements InputFilterProviderInterface, Use 'disciplines' => [ 'required' => false, ], 'pcruPoleCompetitivite' => [ 'required' => false ], 'pcruValidPoleCompetitivite' => [ 'required' => false ], 'pcruSourceFinancement' => [ 'required' => false ], ]; } }