@@ -72,6 +72,7 @@ discard block |
||
72 | 72 | /** |
73 | 73 | * Set the timeout on the process |
74 | 74 | * @param int The number of seconds |
75 | + * @param integer $secs |
|
75 | 76 | */ |
76 | 77 | public function setTimeout($secs) |
77 | 78 | { |
@@ -88,6 +89,7 @@ discard block |
||
88 | 89 | /** |
89 | 90 | * Set the operating flags for the MTA |
90 | 91 | * @param string |
92 | + * @param string $flags |
|
91 | 93 | */ |
92 | 94 | public function setFlags($flags) |
93 | 95 | { |
@@ -104,6 +106,7 @@ discard block |
||
104 | 106 | /** |
105 | 107 | * Set the path to the binary |
106 | 108 | * @param string The path (must be absolute!) |
109 | + * @param string $path |
|
107 | 110 | */ |
108 | 111 | public function setPath($path) |
109 | 112 | { |
@@ -161,6 +164,7 @@ discard block |
||
161 | 164 | /** |
162 | 165 | * Set the sendmail command (path + flags) |
163 | 166 | * @param string Command |
167 | + * @param string $command |
|
164 | 168 | * @throws Swift_ConnectionException If the command is not correctly structured |
165 | 169 | */ |
166 | 170 | public function setCommand($command) |
@@ -94,6 +94,7 @@ discard block |
||
94 | 94 | * @param string The remote server to connect to |
95 | 95 | * @param int The remote port to connect to |
96 | 96 | * @param int The encryption level to use |
97 | + * @param integer $port |
|
97 | 98 | */ |
98 | 99 | public function __construct($server="localhost", $port=null, $encryption=null) |
99 | 100 | { |
@@ -104,6 +105,7 @@ discard block |
||
104 | 105 | /** |
105 | 106 | * Set the timeout to connect in seconds |
106 | 107 | * @param int Timeout to use |
108 | + * @param integer $time |
|
107 | 109 | */ |
108 | 110 | public function setTimeout($time) |
109 | 111 | { |
@@ -120,6 +122,7 @@ discard block |
||
120 | 122 | /** |
121 | 123 | * Set the remote server to connect to as a FQDN |
122 | 124 | * @param string Server name |
125 | + * @param string $server |
|
123 | 126 | */ |
124 | 127 | public function setServer($server) |
125 | 128 | { |
@@ -336,7 +339,9 @@ discard block |
||
336 | 339 | * If none works, throw an exception |
337 | 340 | * @param string Username |
338 | 341 | * @param string Password |
339 | - * @param Swift An instance of swift |
|
342 | + * @param Swift Swift instance of swift |
|
343 | + * @param string $user |
|
344 | + * @param string $pass |
|
340 | 345 | * @throws Swift_ConnectionException Upon failure to authenticate |
341 | 346 | */ |
342 | 347 | public function runAuthenticators($user, $pass, Swift $swift) |
@@ -20,6 +20,7 @@ |
||
20 | 20 | /** |
21 | 21 | * Executes just before Swift sends a message |
22 | 22 | * @param Swift_Events_SendEvent Information about the message being sent |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function beforeSendPerformed(Swift_Events_SendEvent $e); |
25 | 26 | } |
@@ -20,6 +20,7 @@ |
||
20 | 20 | /** |
21 | 21 | * Executes when Swift sends a command |
22 | 22 | * @param Swift_Events_CommandEvent Information about the command sent |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function commandSent(Swift_Events_CommandEvent $e); |
25 | 26 | } |
@@ -20,6 +20,7 @@ |
||
20 | 20 | /** |
21 | 21 | * Executes when Swift closes a connection |
22 | 22 | * @param Swift_Events_DisconnectEvent Information about the connection |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function disconnectPerformed(Swift_Events_DisconnectEvent $e); |
25 | 26 | } |
@@ -20,6 +20,7 @@ |
||
20 | 20 | /** |
21 | 21 | * Executes when Swift receives a response |
22 | 22 | * @param Swift_Events_ResponseEvent Information about the response |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function responseReceived(Swift_Events_ResponseEvent $e); |
25 | 26 | } |
@@ -19,6 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * Executes when Swift sends a message |
21 | 21 | * @param Swift_Events_SendEvent Information about the message being sent |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function sendPerformed(Swift_Events_SendEvent $e); |
24 | 25 | } |
@@ -161,6 +161,7 @@ |
||
161 | 161 | /** |
162 | 162 | * Read a given number of bytes from the file |
163 | 163 | * Returns false past EOF |
164 | + * @param integer $bytes |
|
164 | 165 | * @return string |
165 | 166 | * @throws Swift_FileException If the file cannot be read |
166 | 167 | */ |
@@ -71,11 +71,13 @@ |
||
71 | 71 | * Add a new entry to the log |
72 | 72 | * @param string The information to log |
73 | 73 | * @param string The type of entry (see the constants: COMMAND, RESPONSE, ERROR, NORMAL) |
74 | + * @param string $text |
|
74 | 75 | */ |
75 | 76 | abstract public function add($text, $type = self::NORMAL); |
76 | 77 | /** |
77 | 78 | * Dump the contents of the log to the browser. |
78 | 79 | * @param boolean True if the string should be returned rather than output. |
80 | + * @return string |
|
79 | 81 | */ |
80 | 82 | abstract public function dump($return_only=false); |
81 | 83 | /** |