| @@ 24-72 (lines=49) @@ | ||
| 21 | * |
|
| 22 | * @package Jobs\Form |
|
| 23 | */ |
|
| 24 | class JobDescriptionBenefits extends Form implements InputFilterProviderInterface |
|
| 25 | { |
|
| 26 | ||
| 27 | public function getHydrator() |
|
| 28 | { |
|
| 29 | if (!$this->hydrator) { |
|
| 30 | $hydrator = new JobDescriptionHydrator(); |
|
| 31 | $this->setHydrator($hydrator); |
|
| 32 | } |
|
| 33 | return $this->hydrator; |
|
| 34 | } |
|
| 35 | ||
| 36 | public function init() |
|
| 37 | { |
|
| 38 | $this->setName('jobs-form-benefits'); |
|
| 39 | $this->setAttributes( |
|
| 40 | array( |
|
| 41 | 'id' => 'jobs-form-benefits', |
|
| 42 | 'data-handle-by' => 'yk-form' |
|
| 43 | ) |
|
| 44 | ); |
|
| 45 | ||
| 46 | $this->add( |
|
| 47 | array( |
|
| 48 | 'type' => 'TextEditor', |
|
| 49 | 'name' => 'description-benefits', |
|
| 50 | 'options' => array( |
|
| 51 | 'use_as_base_fieldset' => true, |
|
| 52 | 'placeholder' => 'Benefits' |
|
| 53 | ), |
|
| 54 | ) |
|
| 55 | ); |
|
| 56 | ||
| 57 | ||
| 58 | } |
|
| 59 | ||
| 60 | public function getInputFilterSpecification() |
|
| 61 | { |
|
| 62 | return array( |
|
| 63 | 'description-benefits' => array( |
|
| 64 | 'filters' => array( |
|
| 65 | array( |
|
| 66 | 'name' => 'Core\XssFilter' |
|
| 67 | ) |
|
| 68 | ) |
|
| 69 | ) |
|
| 70 | ); |
|
| 71 | } |
|
| 72 | } |
|
| 73 | ||
| @@ 24-72 (lines=49) @@ | ||
| 21 | * |
|
| 22 | * @package Jobs\Form |
|
| 23 | */ |
|
| 24 | class JobDescriptionDescription extends Form implements InputFilterProviderInterface |
|
| 25 | { |
|
| 26 | ||
| 27 | public function getHydrator() |
|
| 28 | { |
|
| 29 | if (!$this->hydrator) { |
|
| 30 | $hydrator = new JobDescriptionHydrator(); |
|
| 31 | $this->setHydrator($hydrator); |
|
| 32 | } |
|
| 33 | return $this->hydrator; |
|
| 34 | } |
|
| 35 | ||
| 36 | public function init() |
|
| 37 | { |
|
| 38 | $this->setName('jobs-form-description'); |
|
| 39 | $this->setAttributes( |
|
| 40 | array( |
|
| 41 | 'id' => 'jobs-form-description', |
|
| 42 | 'data-handle-by' => 'yk-form' |
|
| 43 | ) |
|
| 44 | ); |
|
| 45 | ||
| 46 | $this->add( |
|
| 47 | array( |
|
| 48 | 'type' => 'TextEditor', |
|
| 49 | 'name' => 'description-description', |
|
| 50 | 'options' => array( |
|
| 51 | 'use_as_base_fieldset' => true, |
|
| 52 | 'placeholder' => 'Description' |
|
| 53 | ), |
|
| 54 | ) |
|
| 55 | ); |
|
| 56 | ||
| 57 | ||
| 58 | } |
|
| 59 | ||
| 60 | public function getInputFilterSpecification() |
|
| 61 | { |
|
| 62 | return array( |
|
| 63 | 'description-description' => array( |
|
| 64 | 'filters' => array( |
|
| 65 | array( |
|
| 66 | 'name' => 'Core\XssFilter' |
|
| 67 | ) |
|
| 68 | ) |
|
| 69 | ) |
|
| 70 | ); |
|
| 71 | } |
|
| 72 | } |
|
| 73 | ||
| @@ 24-72 (lines=49) @@ | ||
| 21 | * |
|
| 22 | * @package Jobs\Form |
|
| 23 | */ |
|
| 24 | class JobDescriptionQualifications extends Form implements InputFilterProviderInterface |
|
| 25 | { |
|
| 26 | ||
| 27 | public function getHydrator() |
|
| 28 | { |
|
| 29 | if (!$this->hydrator) { |
|
| 30 | $hydrator = new JobDescriptionHydrator(); |
|
| 31 | $this->setHydrator($hydrator); |
|
| 32 | } |
|
| 33 | return $this->hydrator; |
|
| 34 | } |
|
| 35 | ||
| 36 | public function init() |
|
| 37 | { |
|
| 38 | $this->setName('jobs-form-qualifications'); |
|
| 39 | $this->setAttributes( |
|
| 40 | array( |
|
| 41 | 'id' => 'jobs-form-qualifications', |
|
| 42 | 'data-handle-by' => 'yk-form' |
|
| 43 | ) |
|
| 44 | ); |
|
| 45 | ||
| 46 | $this->add( |
|
| 47 | array( |
|
| 48 | 'type' => 'TextEditor', |
|
| 49 | 'name' => 'description-qualifications', |
|
| 50 | 'options' => array( |
|
| 51 | 'use_as_base_fieldset' => true, |
|
| 52 | 'placeholder' => 'Qualifications' |
|
| 53 | ), |
|
| 54 | ) |
|
| 55 | ); |
|
| 56 | ||
| 57 | ||
| 58 | } |
|
| 59 | ||
| 60 | public function getInputFilterSpecification() |
|
| 61 | { |
|
| 62 | return array( |
|
| 63 | 'description-qualifications' => array( |
|
| 64 | 'filters' => array( |
|
| 65 | array( |
|
| 66 | 'name' => 'Core\XssFilter' |
|
| 67 | ) |
|
| 68 | ) |
|
| 69 | ) |
|
| 70 | ); |
|
| 71 | } |
|
| 72 | } |
|
| 73 | ||
| @@ 24-72 (lines=49) @@ | ||
| 21 | * |
|
| 22 | * @package Jobs\Form |
|
| 23 | */ |
|
| 24 | class JobDescriptionRequirements extends Form implements InputFilterProviderInterface |
|
| 25 | { |
|
| 26 | ||
| 27 | public function getHydrator() |
|
| 28 | { |
|
| 29 | if (!$this->hydrator) { |
|
| 30 | $hydrator = new JobDescriptionHydrator(); |
|
| 31 | $this->setHydrator($hydrator); |
|
| 32 | } |
|
| 33 | return $this->hydrator; |
|
| 34 | } |
|
| 35 | ||
| 36 | public function init() |
|
| 37 | { |
|
| 38 | $this->setName('jobs-form-requirements'); |
|
| 39 | $this->setAttributes( |
|
| 40 | array( |
|
| 41 | 'id' => 'jobs-form-requirements', |
|
| 42 | 'data-handle-by' => 'yk-form' |
|
| 43 | ) |
|
| 44 | ); |
|
| 45 | ||
| 46 | $this->add( |
|
| 47 | array( |
|
| 48 | 'type' => 'TextEditor', |
|
| 49 | 'name' => 'description-requirements', |
|
| 50 | 'options' => array( |
|
| 51 | 'use_as_base_fieldset' => true, |
|
| 52 | 'placeholder' => 'Requirements' |
|
| 53 | ), |
|
| 54 | ) |
|
| 55 | ); |
|
| 56 | ||
| 57 | ||
| 58 | } |
|
| 59 | ||
| 60 | public function getInputFilterSpecification() |
|
| 61 | { |
|
| 62 | return array( |
|
| 63 | 'description-requirements' => array( |
|
| 64 | 'filters' => array( |
|
| 65 | array( |
|
| 66 | 'name' => 'Core\XssFilter' |
|
| 67 | ) |
|
| 68 | ) |
|
| 69 | ) |
|
| 70 | ); |
|
| 71 | } |
|
| 72 | } |
|
| 73 | ||
| @@ 22-67 (lines=46) @@ | ||
| 19 | * |
|
| 20 | * @package Jobs\Form |
|
| 21 | */ |
|
| 22 | class TemplateLabelBenefits extends Form implements InputFilterProviderInterface |
|
| 23 | { |
|
| 24 | ||
| 25 | public function getHydrator() |
|
| 26 | { |
|
| 27 | if (!$this->hydrator) { |
|
| 28 | $hydrator = new TemplateLabelHydrator(); |
|
| 29 | $this->setHydrator($hydrator); |
|
| 30 | } |
|
| 31 | return $this->hydrator; |
|
| 32 | } |
|
| 33 | ||
| 34 | public function init() |
|
| 35 | { |
|
| 36 | $this->setName('jobs-form-label-benefits'); |
|
| 37 | $this->setAttributes( |
|
| 38 | array( |
|
| 39 | 'id' => 'jobs-form-label-benefits', |
|
| 40 | 'data-handle-by' => 'yk-form' |
|
| 41 | ) |
|
| 42 | ); |
|
| 43 | ||
| 44 | $this->add( |
|
| 45 | [ |
|
| 46 | 'type' => 'Text', |
|
| 47 | 'name' => 'description-label-benefits', |
|
| 48 | 'options' => [ |
|
| 49 | 'use_as_base_fieldset' => true, |
|
| 50 | ] |
|
| 51 | ] |
|
| 52 | ); |
|
| 53 | } |
|
| 54 | ||
| 55 | public function getInputFilterSpecification() |
|
| 56 | { |
|
| 57 | return array( |
|
| 58 | 'description-label-benefits' => array( |
|
| 59 | 'filters' => array( |
|
| 60 | array( |
|
| 61 | 'name' => 'Core\XssFilter' |
|
| 62 | ) |
|
| 63 | ) |
|
| 64 | ) |
|
| 65 | ); |
|
| 66 | } |
|
| 67 | } |
|
| 68 | ||
| @@ 22-67 (lines=46) @@ | ||
| 19 | * |
|
| 20 | * @package Jobs\Form |
|
| 21 | */ |
|
| 22 | class TemplateLabelQualifications extends Form implements InputFilterProviderInterface |
|
| 23 | { |
|
| 24 | ||
| 25 | public function getHydrator() |
|
| 26 | { |
|
| 27 | if (!$this->hydrator) { |
|
| 28 | $hydrator = new TemplateLabelHydrator(); |
|
| 29 | $this->setHydrator($hydrator); |
|
| 30 | } |
|
| 31 | return $this->hydrator; |
|
| 32 | } |
|
| 33 | ||
| 34 | public function init() |
|
| 35 | { |
|
| 36 | $this->setName('jobs-form-label-qualifications'); |
|
| 37 | $this->setAttributes( |
|
| 38 | array( |
|
| 39 | 'id' => 'jobs-form-label-qualifications', |
|
| 40 | 'data-handle-by' => 'yk-form' |
|
| 41 | ) |
|
| 42 | ); |
|
| 43 | ||
| 44 | $this->add( |
|
| 45 | [ |
|
| 46 | 'type' => 'Text', |
|
| 47 | 'name' => 'description-label-qualifications', |
|
| 48 | 'options' => [ |
|
| 49 | 'use_as_base_fieldset' => true, |
|
| 50 | ] |
|
| 51 | ] |
|
| 52 | ); |
|
| 53 | } |
|
| 54 | ||
| 55 | public function getInputFilterSpecification() |
|
| 56 | { |
|
| 57 | return array( |
|
| 58 | 'description-label-qualifications' => array( |
|
| 59 | 'filters' => array( |
|
| 60 | array( |
|
| 61 | 'name' => 'Core\XssFilter' |
|
| 62 | ) |
|
| 63 | ) |
|
| 64 | ) |
|
| 65 | ); |
|
| 66 | } |
|
| 67 | } |
|
| 68 | ||
| @@ 22-70 (lines=49) @@ | ||
| 19 | * |
|
| 20 | * @package Jobs\Form |
|
| 21 | */ |
|
| 22 | class TemplateLabelRequirements extends Form implements InputFilterProviderInterface |
|
| 23 | { |
|
| 24 | ||
| 25 | public function getHydrator() |
|
| 26 | { |
|
| 27 | if (!$this->hydrator) { |
|
| 28 | $hydrator = new TemplateLabelHydrator(); |
|
| 29 | $this->setHydrator($hydrator); |
|
| 30 | } |
|
| 31 | return $this->hydrator; |
|
| 32 | } |
|
| 33 | ||
| 34 | public function init() |
|
| 35 | { |
|
| 36 | $this->setName('jobs-form-label-requirements'); |
|
| 37 | $this->setAttributes( |
|
| 38 | array( |
|
| 39 | 'id' => 'jobs-form-label-requirements', |
|
| 40 | 'data-handle-by' => 'yk-form' |
|
| 41 | ) |
|
| 42 | ); |
|
| 43 | ||
| 44 | $this->add( |
|
| 45 | [ |
|
| 46 | 'type' => 'Text', |
|
| 47 | 'name' => 'description-label-requirements', |
|
| 48 | 'options' => [ |
|
| 49 | 'use_as_base_fieldset' => true, |
|
| 50 | ] |
|
| 51 | ||
| 52 | ] |
|
| 53 | ); |
|
| 54 | ||
| 55 | ||
| 56 | } |
|
| 57 | ||
| 58 | public function getInputFilterSpecification() |
|
| 59 | { |
|
| 60 | return array( |
|
| 61 | 'description-label-requirements' => array( |
|
| 62 | 'filters' => array( |
|
| 63 | array( |
|
| 64 | 'name' => 'Core\XssFilter' |
|
| 65 | ) |
|
| 66 | ) |
|
| 67 | ) |
|
| 68 | ); |
|
| 69 | } |
|
| 70 | } |
|
| 71 | ||