Copied!
  • var string $style_content Contains style sheet elements for XHTML letter format emails. This property applies only to format_type 1.
  • var string $letter_format Email message format. Valid values are HTML and XHTML. By default, the value is HTML. For more information, see the Advanced Editor User's Guide. This property applies only to format_type 1. You cannot change this property after you create an email.
  • var string $greeting_salutation The greeting used in the email message. This property applies only to format_type 1.
  • var string $greeting_name_type The type of name the campaign uses to greet the contact. Valid values are F (First Name), L (Last Name), B (First and Last Name), or N (No greeting). By default, the value is N. This property applies only to format_type 1.
  • var string $greeting_secondary A fallback text string the campaign uses to greet the contact when the greeting_name_type is not available or set to N. This property applies only to format_type 1.
  • var string $subscribe_link_enabled If true, the email footer includes a link for subscribing to the list. If false, the message footer does not include a link for subscribing to the list. By default, the value is false. This property applies only to format_type 1.
  • var string $subscribe_link_name The text displayed as the name for the subscribe link in the email footer. This property applies only to format_type 1.
  • var string $text_content Contains the text content that Constant Contact displays to contacts when their email client cannot display HTML email. If you do not specify text content, Constant Contact displays "Greetings!" as the text content. This property applies only to format_type 1.
  • var string $permission_reminder_enabled If true, Constant Contact displays your permission_reminder message to contacts at top of the email. If false, Constant Contact does not display the message. By default, the value is false. This property applies to format_type 1 and 2.
  • var string $permission_reminder The message text Constant Contact displays at the top of the email message to remind users that they are subscribed to an email list. This property applies to format_type 1 and 2.
  • var string $view_as_webpage_enabled If true, Constant Contact displays the view as web page email message. If false Constant Contact does not display the message. By default, the value is false. This property applies to format_type 1 and 2.
  • var string $view_as_webpage_text The text Constant Contact displays before the view as web page link at the top of the email. This property applies to format_type 1 and 2.
  • var string $view_as_webpage_link_name The name of the link that users can click to view the email as a web page. This property applies to format_type 1 and 2.
  • var string $forward_email_link_enabled If true, when the user forwards an email message the footer includes a link for subscribing to the list. If false, when a user forwards an email message the footer does not include a link for subscribing to the list. By default, the value is false. This property applies to format_type 1 and 2.
  • var string $forward_email_link_name The text displayed as the name for the forward email link in the footer when a user forwards an email. This property applies to format_type 1 and 2.
Cloneable Instantiable
Methods
public PHPFUI\ConstantContact\Definition\Base :: __construct ( array $initialValues = [ ] )
public PHPFUI\ConstantContact\Definition\Base :: __get ( string $field )
 

Unset fields will return null

public PHPFUI\ConstantContact\Definition\Base :: __set ( string $field , $value )
public PHPFUI\ConstantContact\Definition\Base :: getData () : array
public PHPFUI\ConstantContact\Definition\Base :: getfields () : array
 

Return all the valid fields for the object. Index is field name and value is the type.

public PHPFUI\ConstantContact\Definition\Base :: getJSON () : string
Properties
protected static array $fields = [ 'style_content' => 'string' , 'letter_format' => [ 'HTML' , 'XHTML' ] , 'greeting_salutation' => 'string' , 'greeting_name_type' => [ 'F' , 'L' , 'B' , 'N' ] , 'greeting_secondary' => 'string' , 'subscribe_link_enabled' => [ 'true' , 'false' ] , 'subscribe_link_name' => 'string' , 'text_content' => 'string' , 'permission_reminder_enabled' => [ 'false' , 'true' ] , 'permission_reminder' => 'string' , 'view_as_webpage_enabled' => 'string' , 'view_as_webpage_text' => 'string' , 'view_as_webpage_link_name' => 'string' , 'forward_email_link_enabled' => [ 'true' , 'false' ] , 'forward_email_link_name' => 'string' ]
protected static array $maxLength = [ 'style_content' => 150000 , 'greeting_salutation' => 50 , 'greeting_secondary' => 1500 , 'subscribe_link_name' => 80 , 'text_content' => 150000 , 'permission_reminder' => 1500 , 'view_as_webpage_text' => 50 , 'forward_email_link_name' => 80 ]
protected static array PHPFUI\ConstantContact\Definition\Base :: $minLength
Properties
protected static array $fields = [ 'style_content' => 'string' , 'letter_format' => [ 'HTML' , 'XHTML' ] , 'greeting_salutation' => 'string' , 'greeting_name_type' => [ 'F' , 'L' , 'B' , 'N' ] , 'greeting_secondary' => 'string' , 'subscribe_link_enabled' => [ 'true' , 'false' ] , 'subscribe_link_name' => 'string' , 'text_content' => 'string' , 'permission_reminder_enabled' => [ 'false' , 'true' ] , 'permission_reminder' => 'string' , 'view_as_webpage_enabled' => 'string' , 'view_as_webpage_text' => 'string' , 'view_as_webpage_link_name' => 'string' , 'forward_email_link_enabled' => [ 'true' , 'false' ] , 'forward_email_link_name' => 'string' ]
protected static array $maxLength = [ 'style_content' => 150000 , 'greeting_salutation' => 50 , 'greeting_secondary' => 1500 , 'subscribe_link_name' => 80 , 'text_content' => 150000 , 'permission_reminder' => 1500 , 'view_as_webpage_text' => 50 , 'forward_email_link_name' => 80 ]
protected static array PHPFUI\ConstantContact\Definition\Base :: $minLength
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration