Overview

Namespaces

  • Ctct
    • Auth
    • Components
      • Account
      • Activities
      • Contacts
      • EmailMarketing
      • Tracking
    • Exceptions
    • Services
  • PHP

Classes

  • Campaign
  • ClickThroughDetails
  • MessageFooter
  • Schedule
  • TestSend
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: namespace Ctct\Components\EmailMarketing;
 3: 
 4: use Ctct\Components\Component;
 5: 
 6: /**
 7:  * Represents a click through detail 
 8:  *
 9:  * @package        EmailMarketing
10:  * @subpackage     Campaigns
11:  * @author         Constant Contact
12:  */
13: class ClickThroughDetails extends Component
14: {
15:     /**
16:      * the actual url that was clicked on
17:      * @var string
18:      */
19:     public $url;
20:     
21:     /**
22:      * url unique identifier
23:      * @var string 
24:      */
25:     public $url_uid;
26:     
27:     /**
28:      * number of times the url was clicked on
29:      * @var int 
30:      */
31:     public $click_count;
32: 
33:     /**
34:      * Factory method to create a ClickThroughDetails object from an array
35:      * @param array $props - associative array of initial properties to set
36:      * @return ClickThroughDetails
37:      */
38:     public static function create(array $props)
39:     {
40:         $click_through_details = new ClickThroughDetails();
41:         $click_through_details->url = parent::getValue($props, "url");
42:         $click_through_details->url_uid = parent::getValue($props, "url_uid");
43:         $click_through_details->click_count = parent::getValue($props, "click_count");
44:         return $click_through_details;
45:     }
46: }
47: 
Appconnect PHP SDK API documentation generated by ApiGen 2.8.0