Source of file Note.php
Size: 0,962 Bytes - Last Modified: 2021-12-23T10:20:09+00:00
/var/www/docs.ssmods.com/process/src/src/Ctct/Components/Contacts/Note.php
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | <?php namespace Ctct\Components\Contacts; use Ctct\Components\Component; /** * Represents a Contact Note * * @package Components * @subpackage Contacts * @author Constant Contact */ class Note extends Component { /** * Id of the note * @var string */ public $id; /** * Content of the note * @var string */ public $note; /** * Date the note was created * @var string */ public $created_date; /** * Factory method to create a Note object from an array * @param array $props - Associative array of initial properties to set * @return Note */ public static function create(array $props) { $note = new Note(); $note->id = parent::getValue($props, "id"); $note->note = parent::getValue($props, "note"); $note->created_date = parent::getValue($props, "created_date"); return $note; } } |