//$jill->setGender('F'); //$jill->setYear(1990); //$jill->setCount(3000); //$jill->setTotal(100000); //$records = new NameSet('Keith', 'M', 'MRK'); $records = new MetaphoneSet('MRK', 'M', 50); //$chart = new BarChart($records->getRecords(), 400); ?> <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Week 9 Object-Orientated Programming</title> <link rel="stylesheet" href="includes/week9.css.php" type="text/css"> <script src="includes/week9.js.php"></script> </head> <body> <pre> <?php foreach ($records->getRecords() as $record) { MetaphoneSet::$count++; $record->setRank(MetaphoneSet::$count); } print_r($records); MetaphoneSet::whatAmI(); ?> </pre> </body> </html>