loadFromArray() public method

public loadFromArray ( $data, $fast = false )
 public function loadFromArray($data)
 {
     parent::loadFromArray($data, true);
     foreach ($data as $key => $value) {
         if ($key == 'funnel.goalachieved.goal.name') {
             $this->GoalName = $value;
         } elseif ($key == 'funnel.goalachieved.funnel.name') {
             $this->CampaignName = $value;
         } elseif ($key == 'funnel.goalachieved.date.achieved') {
             $this->GoalCompletionDate = $value;
         }
     }
     $this->Id = $data['ContactId'] . '-' . $data['funnel.goalachieved.goal.name'] . '-' . $data['funnel.goalachieved.date.achieved'];
 }
 public function loadFromArray($data)
 {
     parent::loadFromArray($data, true);
     $this->Id = $data['EmailSentId'];
 }
 public function loadFromArray($data)
 {
     parent::loadFromArray($data, true);
     $this->Id = $data['ContactId'] * 100000000000 + $this->actionToId($data['Type']) * 10000000000 + strtotime($data['Date']);
 }
 public function loadFromArray($data)
 {
     parent::loadFromArray($data, true);
     $this->Id = $data['Date'] . '-' . $data['ContactId'];
 }
 public function loadFromArray($data)
 {
     parent::loadFromArray($data, true);
     $this->Id = $data['MailBatchId'];
 }