Beispiel #1
0
        if (empty($date)) {
            return 'Present';
        }
        return date('d F Y', strtotime($date));
    }
}
$user = new User("Jane Smith", "Ms");
echo $user;
echo "<br />";
$developer = new Developer("Jane Smith", "Ms");
$developer->setPhone('928-486-5172');
echo $developer;
echo "<br />";
$developer->skills = array("JavasScript", "HTML", "CSS");
$developer->skills[] = "PHP";
$developer->getSkillsString();
echo "<br />";
$tasks[0][] = "Implemented a continuing program of research in the laboratory and in the field";
$tasks[0][] = "";
$tasks[1][] = "";
$tasks[1][] = "Multi-tasking in a high pressure environment";
$tasks[2][] = "Working for my Masters with 3 credits";
$tasks[2][] = "Managed the dismantling of one facility and transporting and reassembly of all equipment to new location";
$developer->setExperience('Child Development and Human Relations', 'Research Associate', $tasks[0], '2011-06-16', '2012-12-13');
$developer->setExperience('Child Development and Human Relations', 'SR Research Associate', $tasks[1], '2012-12-13', '2014-02-12');
$developer->setExperience('Child Development and Human Relations', 'SR Research Associate', $tasks[2], '2014-02-12');
echo $developer->getExperience(1);
$resume = new Resume($developer);
echo $resume->formatHTML();
//$experience = new Experience();
//var_dump($experience);