1: <?php
2: namespace Ctct\Components\Tracking;
3:
4: use Ctct\Components\Component;
5:
6: 7: 8: 9: 10: 11: 12:
13: class ForwardActivity extends Component
14: {
15: public $activity_type;
16: public $campaign_id;
17: public $contact_id;
18: public $email_address;
19: public $forward_date;
20:
21: 22: 23: 24: 25:
26: public static function create(array $props)
27: {
28: $forward_activity = new ForwardActivity();
29: $forward_activity->activity_type = parent::getValue($props, "activity_type");
30: $forward_activity->campaign_id = parent::getValue($props, "campaign_id");
31: $forward_activity->contact_id = parent::getValue($props, "contact_id");
32: $forward_activity->email_address = parent::getValue($props, "email_address");
33: $forward_activity->forward_date = parent::getValue($props, "forward_date");
34:
35: return $forward_activity;
36: }
37: }
38: