XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
HeaderSet.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of SwiftMailer.
5  * (c) 2004-2009 Chris Corbyn
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10 
11 //@require 'Swift/Mime/CharsetObserver.php';
12 
22 {
23 
30  public function addMailboxHeader($name, $addresses = null);
31 
38  public function addDateHeader($name, $timestamp = null);
39 
46  public function addTextHeader($name, $value = null);
47 
55  public function addParameterizedHeader($name, $value = null,
56  $params = array());
57 
64  public function addIdHeader($name, $ids = null);
65 
72  public function addPathHeader($name, $path = null);
73 
84  public function has($name, $index = 0);
85 
98  public function set(Swift_Mime_Header $header, $index = 0);
99 
110  public function get($name, $index = 0);
111 
119  public function getAll($name = null);
120 
129  public function remove($name, $index = 0);
130 
136  public function removeAll($name);
137 
143  public function newInstance();
144 
152  public function defineOrdering(array $sequence);
153 
161  public function setAlwaysDisplayed(array $names);
162 
168  public function toString();
169 
170 }