+ /* Export to JSON
+ */
+ public function export()
+ {
+ return array(
+ 'hrpid' => $this->hrid(),
+ 'display_name' => $this->shortName(),
+ 'full_name' => $this->fullName(),
+ 'directory_name' => $this->directory_name,
+ 'promo' => $this->promo(),
+ 'year_promo' => $this->yearpromo(),
+ 'is_active' => $this->isActive(),
+ 'first_name' => $this->firstName(),
+ 'last_name' => $this->lastName(),
+ 'is_female' => $this->isFemale(),
+ );
+ }
+