@@ -77,6 +77,7 @@ |
||
77 | 77 | |
78 | 78 | /** |
79 | 79 | * Saves the current SqlMap manager to cache. |
80 | + * @param TSqlMapManager $manager |
|
80 | 81 | * @return boolean true if SqlMap manager was cached, false otherwise. |
81 | 82 | */ |
82 | 83 | protected function cacheSqlMapManager($manager) |
@@ -149,6 +149,7 @@ |
||
149 | 149 | /** |
150 | 150 | * Finds the database connection instance from the Application modules. |
151 | 151 | * @param string Database connection module ID. |
152 | + * @param string $id |
|
152 | 153 | * @return TDbConnection database connection. |
153 | 154 | * @throws TConfigurationException when module is not of TDbConnection or TDataSourceConfig. |
154 | 155 | */ |
@@ -157,6 +157,7 @@ discard block |
||
157 | 157 | /** |
158 | 158 | * Open or close the DB connection. |
159 | 159 | * @param boolean whether to open or close DB connection |
160 | + * @param boolean $value |
|
160 | 161 | * @throws TDbException if connection fails |
161 | 162 | */ |
162 | 163 | public function setActive($value) |
@@ -241,6 +242,7 @@ discard block |
||
241 | 242 | |
242 | 243 | /** |
243 | 244 | * @param string The Data Source Name, or DSN, contains the information required to connect to the database. |
245 | + * @param string $value |
|
244 | 246 | * @see http://www.php.net/manual/en/function.PDO-construct.php |
245 | 247 | */ |
246 | 248 | public function setConnectionString($value) |
@@ -258,6 +260,7 @@ discard block |
||
258 | 260 | |
259 | 261 | /** |
260 | 262 | * @param string the username for establishing DB connection |
263 | + * @param string $value |
|
261 | 264 | */ |
262 | 265 | public function setUsername($value) |
263 | 266 | { |
@@ -274,6 +277,7 @@ discard block |
||
274 | 277 | |
275 | 278 | /** |
276 | 279 | * @param string the password for establishing DB connection |
280 | + * @param string $value |
|
277 | 281 | */ |
278 | 282 | public function setPassword($value) |
279 | 283 | { |
@@ -101,6 +101,7 @@ |
||
101 | 101 | |
102 | 102 | /** |
103 | 103 | * @param boolean whether this transaction is active |
104 | + * @param boolean $value |
|
104 | 105 | */ |
105 | 106 | protected function setActive($value) |
106 | 107 | { |
@@ -486,6 +486,9 @@ |
||
486 | 486 | return false; |
487 | 487 | } |
488 | 488 | |
489 | + /** |
|
490 | + * @param string $catalogue |
|
491 | + */ |
|
489 | 492 | protected function createMessageTemplate($catalogue) |
490 | 493 | { |
491 | 494 | if($catalogue === null) { |
@@ -38,6 +38,7 @@ |
||
38 | 38 | /** |
39 | 39 | * Writes a string. |
40 | 40 | * @param string string to be written |
41 | + * @param string $str |
|
41 | 42 | */ |
42 | 43 | public function write($str) |
43 | 44 | { |
@@ -49,6 +49,7 @@ |
||
49 | 49 | |
50 | 50 | /** |
51 | 51 | * @param string id of this service |
52 | + * @param string $value |
|
52 | 53 | */ |
53 | 54 | public function setID($value) |
54 | 55 | { |
@@ -98,6 +98,7 @@ |
||
98 | 98 | * @param integer level filter |
99 | 99 | * @param array category filter |
100 | 100 | * @param array control filter |
101 | + * @param integer $levels |
|
101 | 102 | * @return array list of messages. Each array elements represents one message |
102 | 103 | * with the following structure: |
103 | 104 | * array( |
@@ -105,6 +105,9 @@ |
||
105 | 105 | * @param string RPC server URL |
106 | 106 | * @param array payload data |
107 | 107 | * @param string request mime type |
108 | + * @param string $serverUrl |
|
109 | + * @param string $mimeType |
|
110 | + * @return string |
|
108 | 111 | */ |
109 | 112 | protected function performRequest($serverUrl, $payload, $mimeType) |
110 | 113 | { |