@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -class LocalizedValues implements JsonSerializable{ |
|
| 3 | +class LocalizedValues implements JsonSerializable { |
|
| 4 | 4 | |
| 5 | 5 | private $en_value; |
| 6 | 6 | private $fr_value; |
@@ -6,13 +6,13 @@ discard block |
||
| 6 | 6 | * and open the template in the editor. |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -class LookupWithDescription implements JsonSerializable{ |
|
| 9 | +class LookupWithDescription implements JsonSerializable { |
|
| 10 | 10 | |
| 11 | 11 | protected $id; |
| 12 | 12 | protected $value; |
| 13 | 13 | protected $description; |
| 14 | 14 | |
| 15 | - public function __construct($id=null, $value=null, $description=null) { |
|
| 15 | + public function __construct($id = null, $value = null, $description = null) { |
|
| 16 | 16 | $this->id = $id; |
| 17 | 17 | $this->value = $value; |
| 18 | 18 | $this->description; |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | $getter_names = get_class_methods(get_class($this)); |
| 23 | 23 | $gettable_attributes = array(); |
| 24 | 24 | foreach ($getter_names as $key => $value) { |
| 25 | - if(substr($value, 0, 3) === 'get') { |
|
| 25 | + if (substr($value, 0, 3) === 'get') { |
|
| 26 | 26 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
| 27 | 27 | } |
| 28 | 28 | } |
@@ -7,7 +7,7 @@ discard block |
||
| 7 | 7 | private $workplace_photo_id; |
| 8 | 8 | private $description; |
| 9 | 9 | |
| 10 | - public function __construct($work_environment_id=null, $photo_name=null, $workplace_photo_id=null, $description=null) { |
|
| 10 | + public function __construct($work_environment_id = null, $photo_name = null, $workplace_photo_id = null, $description = null) { |
|
| 11 | 11 | $this->work_environment_id = $work_environment_id; |
| 12 | 12 | $this->photo_name = $photo_name; |
| 13 | 13 | $this->workplace_photo_id = $workplace_photo_id; |
@@ -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 | } |
@@ -1,11 +1,11 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -class JobSeekerProfileAnswer implements JsonSerializable{ |
|
| 3 | +class JobSeekerProfileAnswer implements JsonSerializable { |
|
| 4 | 4 | |
| 5 | 5 | private $job_seeker_profile_question_id; |
| 6 | 6 | private $answer; |
| 7 | 7 | |
| 8 | - public function __construct($job_seeker_profile_question_id=null,$answer=null) { |
|
| 8 | + public function __construct($job_seeker_profile_question_id = null, $answer = null) { |
|
| 9 | 9 | $this->job_seeker_profile_question_id = $job_seeker_profile_question_id; |
| 10 | 10 | $this->answer = $answer; |
| 11 | 11 | } |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | $getter_names = get_class_methods(get_class($this)); |
| 15 | 15 | $gettable_attributes = array(); |
| 16 | 16 | foreach ($getter_names as $key => $value) { |
| 17 | - if(substr($value, 0, 3) === 'get') { |
|
| 17 | + if (substr($value, 0, 3) === 'get') { |
|
| 18 | 18 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
| 19 | 19 | } |
| 20 | 20 | } |
@@ -2,13 +2,13 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | require_once '../model/WorkSample.php'; |
| 4 | 4 | |
| 5 | -class ApplicationWorkSample implements JsonSerializable{ |
|
| 5 | +class ApplicationWorkSample implements JsonSerializable { |
|
| 6 | 6 | |
| 7 | 7 | protected $criteria_id; |
| 8 | 8 | protected $job_poster_appliction_id; |
| 9 | 9 | protected $work_sample; |
| 10 | 10 | |
| 11 | - public function __construct($criteria_id=null,$job_poster_appliction_id=null,WorkSample $work_sample=null) { |
|
| 11 | + public function __construct($criteria_id = null, $job_poster_appliction_id = null, WorkSample $work_sample = null) { |
|
| 12 | 12 | $this->criteria_id = $criteria_id; |
| 13 | 13 | $this->job_poster_appliction_id = $job_poster_appliction_id; |
| 14 | 14 | $this->work_sample = $work_sample; |
@@ -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 | } |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -class JobPosterQuestion implements JsonSerializable{ |
|
| 3 | +class JobPosterQuestion implements JsonSerializable { |
|
| 4 | 4 | |
| 5 | 5 | private $id; |
| 6 | 6 | private $locale; |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | private $description; |
| 9 | 9 | |
| 10 | 10 | |
| 11 | - public function __construct($id = null, $locale=null,$question = null, $description=null) { |
|
| 11 | + public function __construct($id = null, $locale = null, $question = null, $description = null) { |
|
| 12 | 12 | $this->id = $id; |
| 13 | 13 | $this->locale = $locale; |
| 14 | 14 | $this->question = $question; |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | $getter_names = get_class_methods(get_class($this)); |
| 20 | 20 | $gettable_attributes = array(); |
| 21 | 21 | foreach ($getter_names as $key => $value) { |
| 22 | - if(substr($value, 0, 3) === 'get') { |
|
| 22 | + if (substr($value, 0, 3) === 'get') { |
|
| 23 | 23 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
| 24 | 24 | } |
| 25 | 25 | } |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | * @param string $gc_directory_url |
| 17 | 17 | * @param string $narrative_text |
| 18 | 18 | */ |
| 19 | - public function __construct($team_culture_id=null,$team_size=null,$gc_directory_url=null,$narrative_text=null,$operating_context=null,$what_we_value=null,$how_we_work=null) { |
|
| 19 | + public function __construct($team_culture_id = null, $team_size = null, $gc_directory_url = null, $narrative_text = null, $operating_context = null, $what_we_value = null, $how_we_work = null) { |
|
| 20 | 20 | $this->team_culture_id = $team_culture_id; |
| 21 | 21 | $this->team_size = $team_size; |
| 22 | 22 | $this->gc_directory_url = $gc_directory_url; |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | $getter_names = get_class_methods(get_class($this)); |
| 31 | 31 | $gettable_attributes = array(); |
| 32 | 32 | foreach ($getter_names as $key => $value) { |
| 33 | - if(substr($value, 0, 3) === 'get') { |
|
| 33 | + if (substr($value, 0, 3) === 'get') { |
|
| 34 | 34 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
| 35 | 35 | } |
| 36 | 36 | } |
@@ -6,13 +6,13 @@ discard block |
||
| 6 | 6 | * and open the template in the editor. |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -class ManagerProfileWithDetails implements JsonSerializable{ |
|
| 9 | +class ManagerProfileWithDetails implements JsonSerializable { |
|
| 10 | 10 | |
| 11 | 11 | private $manager_profile; |
| 12 | 12 | private $manager_profile_details; |
| 13 | 13 | private $user; |
| 14 | 14 | |
| 15 | - public function __construct($manager_profile = null,$manager_profile_details = null, $user = null) { |
|
| 15 | + public function __construct($manager_profile = null, $manager_profile_details = null, $user = null) { |
|
| 16 | 16 | $this->manager_profile = $manager_profile; |
| 17 | 17 | $this->manager_profile_details = $manager_profile_details; |
| 18 | 18 | $this->user = $user; |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | $getter_names = get_class_methods(get_class($this)); |
| 23 | 23 | $gettable_attributes = array(); |
| 24 | 24 | foreach ($getter_names as $key => $value) { |
| 25 | - if(substr($value, 0, 3) === 'get') { |
|
| 25 | + if (substr($value, 0, 3) === 'get') { |
|
| 26 | 26 | $gettable_attributes[strtolower(substr($value, 3, strlen($value)))] = $this->$value(); |
| 27 | 27 | } |
| 28 | 28 | } |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | * |
| 11 | 11 | * @author gregg |
| 12 | 12 | */ |
| 13 | -class Label implements JsonSerializable{
|
|
| 13 | +class Label implements JsonSerializable {
|
|
| 14 | 14 | |
| 15 | 15 | protected $labelKey; |
| 16 | 16 | protected $labelValue; |