@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | require_once '../model/ApplicationMicroReference.php'; |
8 | 8 | require_once '../model/ApplicationWorkSample.php'; |
9 | 9 | |
10 | -class FullJobApplication implements JsonSerializable{ |
|
10 | +class FullJobApplication implements JsonSerializable { |
|
11 | 11 | |
12 | 12 | private $job_poster_application; |
13 | 13 | private $job_seeker_profile; |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | $getter_names = get_class_methods(get_class($this)); |
44 | 44 | $gettable_attributes = array(); |
45 | 45 | foreach ($getter_names as $key => $value) { |
46 | - if(substr($value, 0, 3) === 'get') { |
|
46 | + if (substr($value, 0, 3) === 'get') { |
|
47 | 47 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
48 | 48 | } |
49 | 49 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | protected $experience_level; |
12 | 12 | protected $micro_reference_story; |
13 | 13 | |
14 | - public function __construct($micro_reference_id=null, $micro_reference_name=null, $micro_reference_email=null, $relationship=null, $observed_from_date=null, $observed_until_date=null, $experience_level=null, $micro_reference_story=null) { |
|
14 | + public function __construct($micro_reference_id = null, $micro_reference_name = null, $micro_reference_email = null, $relationship = null, $observed_from_date = null, $observed_until_date = null, $experience_level = null, $micro_reference_story = null) { |
|
15 | 15 | $this->micro_reference_id = $micro_reference_id; |
16 | 16 | $this->micro_reference_name = $micro_reference_name; |
17 | 17 | $this->micro_reference_email = $micro_reference_email; |
@@ -6,12 +6,12 @@ discard block |
||
6 | 6 | * and open the template in the editor. |
7 | 7 | */ |
8 | 8 | |
9 | -class Lookup implements JsonSerializable{ |
|
9 | +class Lookup implements JsonSerializable { |
|
10 | 10 | |
11 | 11 | protected $id; |
12 | 12 | protected $value; |
13 | 13 | |
14 | - public function __construct($id=null, $value=null) { |
|
14 | + public function __construct($id = null, $value = null) { |
|
15 | 15 | $this->id = $id; |
16 | 16 | $this->value = $value; |
17 | 17 | } |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | $getter_names = get_class_methods(get_class($this)); |
21 | 21 | $gettable_attributes = array(); |
22 | 22 | foreach ($getter_names as $key => $value) { |
23 | - if(substr($value, 0, 3) === 'get') { |
|
23 | + if (substr($value, 0, 3) === 'get') { |
|
24 | 24 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
25 | 25 | } |
26 | 26 | } |
@@ -1,13 +1,13 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -class ApplicationQuestionAnswer implements JsonSerializable{ |
|
3 | +class ApplicationQuestionAnswer implements JsonSerializable { |
|
4 | 4 | |
5 | 5 | private $job_poster_application_id; |
6 | 6 | private $job_poster_question_id; |
7 | 7 | private $question; |
8 | 8 | private $answer; |
9 | 9 | |
10 | - public function __construct($job_poster_application_id=null,$job_poster_question_id=null,$question=null,$answer=null) { |
|
10 | + public function __construct($job_poster_application_id = null, $job_poster_question_id = null, $question = null, $answer = null) { |
|
11 | 11 | $this->job_poster_application_id = $job_poster_application_id; |
12 | 12 | $this->job_poster_question_id = $job_poster_question_id; |
13 | 13 | $this->question = $question; |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | $getter_names = get_class_methods(get_class($this)); |
19 | 19 | $gettable_attributes = array(); |
20 | 20 | foreach ($getter_names as $key => $value) { |
21 | - if(substr($value, 0, 3) === 'get') { |
|
21 | + if (substr($value, 0, 3) === 'get') { |
|
22 | 22 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
23 | 23 | } |
24 | 24 | } |
@@ -42,10 +42,10 @@ discard block |
||
42 | 42 | private $security_clearance; |
43 | 43 | private $language_requirement; |
44 | 44 | |
45 | - public function __construct($id=null, $locale_id=null, $manager_user_id=null, $title=null, $description=null, $applicants_to_date=null, $term_qty=null, $term_units=null, |
|
46 | - $job_min_level=null, $job_max_level=null, $start_date=null, $open_date=null, $close_date=null, $department=null, $branch=null, $division=null, $location_province=null, |
|
47 | - $location_city=null, $remuneration_range_low=null, $remuneration_range_high=null, $impact=null, $key_tasks=null, $core_competencies=null, $developing_competencies=null, |
|
48 | - $questions=[], $classification=null, $security_clearance=null, $language_requirement=null) { |
|
45 | + public function __construct($id = null, $locale_id = null, $manager_user_id = null, $title = null, $description = null, $applicants_to_date = null, $term_qty = null, $term_units = null, |
|
46 | + $job_min_level = null, $job_max_level = null, $start_date = null, $open_date = null, $close_date = null, $department = null, $branch = null, $division = null, $location_province = null, |
|
47 | + $location_city = null, $remuneration_range_low = null, $remuneration_range_high = null, $impact = null, $key_tasks = null, $core_competencies = null, $developing_competencies = null, |
|
48 | + $questions = [], $classification = null, $security_clearance = null, $language_requirement = null) { |
|
49 | 49 | $this->id = $id; |
50 | 50 | $this->locale_id = $locale_id; |
51 | 51 | $this->manager_user_id = $manager_user_id; |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | $getter_names = get_class_methods(get_class($this)); |
81 | 81 | $gettable_attributes = array(); |
82 | 82 | foreach ($getter_names as $key => $value) { |
83 | - if(substr($value, 0, 3) === 'get') { |
|
83 | + if (substr($value, 0, 3) === 'get') { |
|
84 | 84 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
85 | 85 | } |
86 | 86 | } |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | * and open the template in the editor. |
7 | 7 | */ |
8 | 8 | |
9 | -class ManagerProfileDetails implements JsonSerializable{ |
|
9 | +class ManagerProfileDetails implements JsonSerializable { |
|
10 | 10 | |
11 | 11 | private $user_manager_profile_details_id; |
12 | 12 | private $locale_id; |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | $getter_names = get_class_methods(get_class($this)); |
72 | 72 | $gettable_attributes = array(); |
73 | 73 | foreach ($getter_names as $key => $value) { |
74 | - if(substr($value, 0, 3) === 'get') { |
|
74 | + if (substr($value, 0, 3) === 'get') { |
|
75 | 75 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
76 | 76 | } |
77 | 77 | } |
@@ -11,14 +11,14 @@ discard block |
||
11 | 11 | * |
12 | 12 | * @author GBowden |
13 | 13 | */ |
14 | -class JobPosterApplication implements JsonSerializable{ |
|
14 | +class JobPosterApplication implements JsonSerializable { |
|
15 | 15 | |
16 | 16 | private $job_poster_application_id; |
17 | 17 | private $application_job_poster_id; |
18 | 18 | private $application_job_seeker_profile_id; |
19 | 19 | private $job_poster_application_status_id; |
20 | 20 | |
21 | - public function __construct($job_poster_application_id=null,$application_job_poster_id=null,$application_job_seeker_profile_id=null, $job_poster_application_status_id=null) { |
|
21 | + public function __construct($job_poster_application_id = null, $application_job_poster_id = null, $application_job_seeker_profile_id = null, $job_poster_application_status_id = null) { |
|
22 | 22 | $this->job_poster_application_id = $job_poster_application_id; |
23 | 23 | $this->application_job_poster_id = $application_job_poster_id; |
24 | 24 | $this->application_job_seeker_profile_id = $application_job_seeker_profile_id; |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | $getter_names = get_class_methods(get_class($this)); |
30 | 30 | $gettable_attributes = array(); |
31 | 31 | foreach ($getter_names as $key => $value) { |
32 | - if(substr($value, 0, 3) === 'get') { |
|
32 | + if (substr($value, 0, 3) === 'get') { |
|
33 | 33 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
34 | 34 | } |
35 | 35 | } |
@@ -14,12 +14,12 @@ |
||
14 | 14 | |
15 | 15 | protected $content; |
16 | 16 | |
17 | - function __construct(){ |
|
17 | + function __construct() { |
|
18 | 18 | return array(); |
19 | 19 | } |
20 | 20 | |
21 | 21 | public function jsonSerialize() { |
22 | - return [ 'content' => $this->content ]; |
|
22 | + return ['content' => $this->content]; |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | function getContent() { |
@@ -2,13 +2,13 @@ discard block |
||
2 | 2 | |
3 | 3 | require_once '../model/MicroReference.php'; |
4 | 4 | |
5 | -class ApplicationMicroReference implements JsonSerializable{ |
|
5 | +class ApplicationMicroReference implements JsonSerializable { |
|
6 | 6 | |
7 | 7 | protected $criteria_id; |
8 | 8 | protected $job_poster_appliction_id; |
9 | 9 | protected $micro_reference; |
10 | 10 | |
11 | - public function __construct($criteria_id=null, $job_poster_appliction_id=null, MicroReference $micro_reference=null) { |
|
11 | + public function __construct($criteria_id = null, $job_poster_appliction_id = null, MicroReference $micro_reference = null) { |
|
12 | 12 | $this->criteria_id = $criteria_id; |
13 | 13 | $this->job_poster_appliction_id = $job_poster_appliction_id; |
14 | 14 | $this->micro_reference = $micro_reference; |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | $getter_names = get_class_methods(get_class($this)); |
19 | 19 | $gettable_attributes = array(); |
20 | 20 | foreach ($getter_names as $key => $value) { |
21 | - if(substr($value, 0, 3) === 'get') { |
|
21 | + if (substr($value, 0, 3) === 'get') { |
|
22 | 22 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
23 | 23 | } |
24 | 24 | } |