Source of file ActivityError.php
Size: 0,901 Bytes - Last Modified: 2021-12-23T10:20:09+00:00
/var/www/docs.ssmods.com/process/src/src/Ctct/Components/Activities/ActivityError.php
123456789101112131415161718192021222324252627282930313233 | <?php namespace Ctct\Components\Activities; use Ctct\Components\Component; /** * Represents a single Activity Error in Constant Contact * * @package Components * @subpackage Activities * @author Constant Contact */ class ActivityError extends Component { public $message; public $line_number; public $email_address; /** * Factory method to create an object from an array * @param array $props - associative array of initial properties to set * @return Campaign */ public static function create(array $props) { $activityError = new ActivityError(); $activityError->message = parent::getValue($props, "message"); $activityError->line_number = parent::getValue($props, "line_number"); $activityError->email_address = parent::getValue($props, "email_address"); return $activityError; } } |