Lines Matching refs:id

154   public function setId($id)  argument
156 $this->headers->set("Message-ID", $id);
518 public function attach(Swift_Message_Mime $child, $id=null) argument
525 $id = $this->getReference("parent", "alternative")->addChild($child, $id, $sign);
526 $this->setReference("alternative", $id, $child);
529 $id = "cid:" . $child->getContentId();
530 $id = $this->getReference("parent", "related")->addChild($child, $id, 1);
531 $this->setReference("related", $id, $child);
534 $id = $this->getReference("parent", "mixed")->addChild($child, $id, 1);
535 $this->setReference("mixed", $id, $child);
540 return $id;
551 public function detach($id) argument
556 case array_key_exists($id, $this->references["alternative"]):
557 $this->getReference("parent", "alternative")->removeChild($id);
558 unset($this->references["alternative"][$id]);
560 case array_key_exists($id, $this->references["related"]):
561 $this->getReference("parent", "related")->removeChild($id);
562 unset($this->references["related"][$id]);
564 case array_key_exists($id, $this->references["mixed"]):
565 $this->getReference("parent", "mixed")->removeChild($id);
566 unset($this->references["mixed"][$id]);
569 …throw new Swift_Message_MimeException("Unable to detach part identified by ID '" . $id . "' since …
611 foreach ($from as $id => $ref)
618 case "related": $this->getReference("related", $tag)->addChild($ref, $id, $sign);
620 case "mixed": $this->getReference("mixed", $tag)->addChild($ref, $id, $sign);
623 $this->getReference("parent", $old_branch)->removeChild($id);
680 foreach ($from as $id => $ref)
685 $this->getReference("parent", $new_branch)->addChild($ref, $id, $sign);
688 case "related": $this->getReference("related", $tag)->removeChild($id);
690 case "mixed": $this->getReference("parent", $old_branch)->removeChild($id);