Ejemplo n.º 1
0
function createHunterFromRow($dbRow)
{
    $rowHunter = new hunter_info();
    $rowHunter->setId($dbRow['id']);
    $rowHunter->setFirstName($dbRow['first_name']);
    $rowHunter->setLastName($dbRow['last_name']);
    $rowHunter->setCreated($dbRow['created']);
    return $rowHunter;
}