Example #1
0
$educations = $resume->get_educations();
$skills = $resume->get_skills();
$technical_skills = $resume->get_technical_skills();
$resume_data = array();
$resume_data['resume']['_ATTRS'] = array('candidate' => $member->get_name());
$resume_data['resume']['DISCLAIMER_NOTE'] = 'Generated from YellowElevator.com. Resume Terms of Use subjected.';
$resume_data['resume']['contacts']['telephone_number'] = $contacts[0]['phone_num'];
$resume_data['resume']['contacts']['email_address'] = $contacts[0]['email_addr'];
$resume_data['resume']['contacts']['address'] = $contacts[0]['address'];
$resume_data['resume']['contacts']['state'] = $contacts[0]['state'];
$resume_data['resume']['contacts']['country'] = Country::getCountryFrom($contacts[0]['country']);
$resume_data['resume']['work_experiences'] = array();
if (count($experiences) > 0) {
    $i = 0;
    foreach ($experiences as $experience) {
        $industry = Industry::get($experience['industry']);
        $resume_data['resume']['work_experiences']['work_experience'][$i]['industry'] = $industry[0]['industry'];
        $resume_data['resume']['work_experiences']['work_experience'][$i]['from'] = $experience['from'];
        $resume_data['resume']['work_experiences']['work_experience'][$i]['to'] = $experience['to'];
        $resume_data['resume']['work_experiences']['work_experience'][$i]['place'] = $experience['place'];
        $resume_data['resume']['work_experiences']['work_experience'][$i]['role'] = $experience['role'];
        $resume_data['resume']['work_experiences']['work_experience'][$i]['work_summary'] = $experience['work_summary'];
        $i++;
    }
}
$resume_data['resume']['educations'] = array();
if (count($educations) > 0) {
    $i = 0;
    foreach ($educations as $education) {
        $resume_data['resume']['educations']['education'][$i]['qualification'] = $education['qualification'];
        $resume_data['resume']['educations']['education'][$i]['completion_year'] = $education['completed_on'];
Example #2
0
 function show_experiences($_experiences)
 {
     $this->SetTextColor(0);
     if (count($_experiences) <= 0) {
         $this->SetFont('Times', '', 10);
         $this->Cell(0, 5, 'No experience recorded', 0, 1, 'C');
         $this->Ln();
     } else {
         foreach ($_experiences as $experience) {
             $industry = Industry::get($experience['industry']);
             $this->SetFont('Times', 'B', 10);
             $this->Cell(75, 5, 'Industry:', 0, 0, 'R');
             $this->SetFont('Times', '', 10);
             $this->Cell(0, 5, $industry[0]['industry'], 0, 1, 'L');
             $this->SetFont('Times', 'B', 10);
             $this->Cell(75, 5, 'From:', 0, 0, 'R');
             $this->SetFont('Times', '', 10);
             $this->Cell(0, 5, $experience['from'], 0, 1, 'L');
             $this->SetFont('Times', 'B', 10);
             $this->Cell(75, 5, 'To:', 0, 0, 'R');
             $this->SetFont('Times', '', 10);
             $this->Cell(0, 5, $experience['to'], 0, 1, 'L');
             $this->SetFont('Times', 'B', 10);
             $this->Cell(75, 5, 'Place:', 0, 0, 'R');
             $this->SetFont('Times', '', 10);
             $this->Cell(0, 5, $experience['place'], 0, 1, 'L');
             $this->SetFont('Times', 'B', 10);
             $this->Cell(75, 5, 'Role:', 0, 0, 'R');
             $this->SetFont('Times', '', 10);
             $this->Cell(0, 5, $experience['role'], 0, 1, 'L');
             $this->SetFont('Times', 'B', 10);
             $this->Cell(75, 5, 'Work Summary:', 0, 0, 'R');
             $this->SetFont('Times', '', 10);
             $this->Cell(0, 5, $experience['work_summary'], 0, 1, 'L');
             $this->SetFont('Times', 'B', 10);
             $this->Cell(75, 5, 'Reason for Leaving:', 0, 0, 'R');
             $this->SetFont('Times', '', 10);
             $this->Cell(0, 5, $experience['reason_for_leaving'], 0, 1, 'L');
             $this->Ln();
         }
     }
 }