コード例 #1
0
ファイル: MsgToSend.php プロジェクト: nucleus-be/zimbra-api
 /**
  * Constructor method for Msg
  * @param string $content
  * @param array $header
  * @param MimePartInfo $mp
  * @param AttachmentsInfo $attach
  * @param InvitationInfo $inv
  * @param array $e
  * @param array $tz
  * @param string $fr
  * @param string $did
  * @param bool   $sfd
  * @param string $aid
  * @param string $origid
  * @param string $rt
  * @param string $idnt
  * @param string $su
  * @param string $irt
  * @param string $l
  * @param string $f
  * @param array $any
  * @return self
  */
 public function __construct($content = null, array $header = array(), MimePartInfo $mp = null, AttachmentsInfo $attach = null, InvitationInfo $inv = null, array $e = array(), array $tz = array(), $fr = null, $did = null, $sfd = null, $aid = null, $origid = null, $rt = null, $idnt = null, $su = null, $irt = null, $l = null, $f = null, array $any = array())
 {
     parent::__construct($content, $header, $mp, $attach, $inv, $e, $tz, $fr, $aid, $origid, $rt, $idnt, $su, $irt, $l, $f, $any);
     if (null !== $did) {
         $this->property('did', trim($did));
     }
     if (null !== $sfd) {
         return $this->property('sfd', (bool) $sfd);
     }
 }
コード例 #2
0
ファイル: MsgToSend.php プロジェクト: zimbra-api/mail
 /**
  * Constructor method for Msg
  * @param string $content
  * @param MimePartInfo $mp
  * @param AttachmentsInfo $attach
  * @param InvitationInfo $inv
  * @param string $fr
  * @param string $did
  * @param bool   $sfd
  * @param string $aid
  * @param string $origid
  * @param string $rt
  * @param string $idnt
  * @param string $su
  * @param string $irt
  * @param string $l
  * @param string $f
  * @param array $headers
  * @param array $emails
  * @param array $timezones
  * @param array $extras
  * @return self
  */
 public function __construct($content = null, MimePartInfo $mp = null, AttachmentsInfo $attach = null, InvitationInfo $inv = null, $fr = null, $did = null, $sfd = null, $aid = null, $origid = null, $rt = null, $idnt = null, $su = null, $irt = null, $l = null, $f = null, array $headers = [], array $emails = [], array $timezones = [], array $extras = [])
 {
     parent::__construct($content, $mp, $attach, $inv, $fr, $aid, $origid, $rt, $idnt, $su, $irt, $l, $f, $headers, $emails, $timezones, $extras);
     if (null !== $did) {
         $this->setProperty('did', trim($did));
     }
     if (null !== $sfd) {
         return $this->setProperty('sfd', (bool) $sfd);
     }
 }
コード例 #3
0
 /**
  * @ignore
  * @param string $content
  * @param string $extra
  */
 public function __construct($content, $extra = "")
 {
     parent::__construct($extra);
     $this->content = $content;
 }