Completed
Push — autoload ( 4808d1...dcd67f )
by Fabio
60:18 queued 50:52
created
framework/Data/SqlMap/Statements/TCachingStatement.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -97,6 +97,10 @@
 block discarded – undo
97 97
 		return $cacheKey->getHash();
98 98
 	}
99 99
 
100
+	/**
101
+	 * @param integer $skip
102
+	 * @param integer $max
103
+	 */
100 104
 	protected function createCommand($connection, $parameter, $skip=null, $max=null)
101 105
 	{
102 106
 		return $this->_mappedStatement->getCommand()->create($this->getManager(),
Please login to merge, or discard this patch.
framework/Data/SqlMap/Statements/TMappedStatement.php 1 patch
Doc Comments   +14 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 	}
85 85
 
86 86
 	/**
87
-	 * @return TSqlMapper The SqlMap used by this MappedStatement
87
+	 * @return TSqlMapManager The SqlMap used by this MappedStatement
88 88
 	 */
89 89
 	public function getManager()
90 90
 	{
@@ -469,6 +469,7 @@  discard block
 block discarded – undo
469 469
 	 * @param IDbConnection database connection
470 470
 	 * @param mixed insert statement parameter
471 471
 	 * @param TSqlMapSelectKey select key statement
472
+	 * @param TSqlMapSelectKey $selectKey
472 473
 	 * @return string last insert ID.
473 474
 	 */
474 475
 	protected function executeSelectKey($connection, $parameter, $selectKey)
@@ -569,6 +570,7 @@  discard block
 block discarded – undo
569 570
 	 * @param string result object class name
570 571
 	 * @param array a result set row retrieved from the database
571 572
 	 * @param object the result object, will create if necessary.
573
+	 * @param string $resultClass
572 574
 	 * @return object result object filled with data
573 575
 	 */
574 576
 	protected function fillResultClass($resultClass, $row, $resultObject)
@@ -591,6 +593,7 @@  discard block
 block discarded – undo
591 593
 	 * Apply the result to a TList or an array.
592 594
 	 * @param array a result set row retrieved from the database
593 595
 	 * @param object result object, array or list
596
+	 * @param ArrayAccess $resultObject
594 597
 	 * @return object result filled with data.
595 598
 	 */
596 599
 	protected function fillResultArrayList($row, $resultObject)
@@ -633,6 +636,7 @@  discard block
 block discarded – undo
633 636
 	 * @param string result map name.
634 637
 	 * @param array a result set row retrieved from the database
635 638
 	 * @param object result object to fill, will create new instances if required.
639
+	 * @param string $parentGroup
636 640
 	 * @return object result object filled with data.
637 641
 	 */
638 642
 	protected function fillResultMap($resultMapName, $row, $parentGroup=null, &$resultObject=null)
@@ -772,6 +776,7 @@  discard block
 block discarded – undo
772 776
 	 * Converts the first array value to scalar value of given type.
773 777
 	 * @param array list of results
774 778
 	 * @param string scalar type.
779
+	 * @param string $type
775 780
 	 * @return mixed scalar value.
776 781
 	 */
777 782
 	protected function getScalarResult($result, $type)
@@ -961,6 +966,10 @@  discard block
 block discarded – undo
961 966
 	public function setKeys($value){ $this->_keys = $value; }
962 967
 
963 968
 	public function getMethod(){ return $this->_method; }
969
+
970
+	/**
971
+	 * @param integer $value
972
+	 */
964 973
 	public function setMethod($value){ $this->_method = $value; }
965 974
 }
966 975
 
@@ -1003,6 +1012,7 @@  discard block
 block discarded – undo
1003 1012
 	 * @param string parent node id
1004 1013
 	 * @param string new node id
1005 1014
 	 * @param mixed node value
1015
+	 * @param string $node
1006 1016
 	 */
1007 1017
 	public function add($parent, $node, $object='')
1008 1018
 	{
@@ -1168,6 +1178,9 @@  discard block
 block discarded – undo
1168 1178
 	private $_parameterObject;
1169 1179
 	private $_list;
1170 1180
 
1181
+	/**
1182
+	 * @param ArrayAccess $list
1183
+	 */
1171 1184
 	public function __construct($result, $parameter, &$list)
1172 1185
 	{
1173 1186
 		$this->_resultObject = $result;
Please login to merge, or discard this patch.
framework/Data/SqlMap/Statements/TPreparedCommand.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
  */
22 22
 class TPreparedCommand
23 23
 {
24
+	/**
25
+	 * @param TSqlMapStatement $statement
26
+	 */
24 27
 	public function create(TSqlMapManager $manager, $connection, $statement, $parameterObject,$skip=null,$max=null)
25 28
 	{
26 29
 		$sqlText = $statement->getSQLText();
@@ -43,6 +46,9 @@  discard block
 block discarded – undo
43 46
 		return $command;
44 47
 	}
45 48
 
49
+	/**
50
+	 * @param TSqlMapManager $manager
51
+	 */
46 52
 	protected function applyParameterMap($manager,$command,$prepared, $statement, $parameterObject)
47 53
 	{
48 54
 		$properties = $prepared->getParameterNames(false);
Please login to merge, or discard this patch.
framework/Data/SqlMap/TSqlMapConfig.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -77,6 +77,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
framework/Data/SqlMap/TSqlMapManager.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -55,6 +55,7 @@  discard block
 block discarded – undo
55 55
 	 * Constructor, create a new SqlMap manager.
56 56
 	 * @param TDbConnection database connection
57 57
 	 * @param string configuration file.
58
+	 * @param TDbConnection $connection
58 59
 	 */
59 60
 	public function __construct($connection=null)
60 61
 	{
@@ -68,6 +69,7 @@  discard block
 block discarded – undo
68 69
 
69 70
 	/**
70 71
 	 * @param TDbConnection default database connection
72
+	 * @param TComponent $conn
71 73
 	 */
72 74
 	public function setDbConnection($conn)
73 75
 	{
@@ -105,6 +107,7 @@  discard block
 block discarded – undo
105 107
 	/**
106 108
 	 * Loads and parses the SqlMap configuration file.
107 109
 	 * @param string xml configuration file.
110
+	 * @param string $file
108 111
 	 */
109 112
 	public function configureXml($file)
110 113
 	{
@@ -180,6 +183,7 @@  discard block
 block discarded – undo
180 183
 	/**
181 184
 	 * Gets a named result map
182 185
 	 * @param string result name.
186
+	 * @param string $name
183 187
 	 * @return TResultMap the result map.
184 188
 	 * @throws TSqlMapUndefinedException
185 189
 	 */
@@ -212,6 +216,7 @@  discard block
 block discarded – undo
212 216
 
213 217
 	/**
214 218
 	 * @param string parameter map ID name.
219
+	 * @param string $name
215 220
 	 * @return TParameterMap the parameter with given ID.
216 221
 	 * @throws TSqlMapUndefinedException
217 222
 	 */
Please login to merge, or discard this patch.
framework/Data/TDataSourceConfig.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -149,6 +149,7 @@
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.
framework/Data/TDbConnection.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -157,6 +157,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
framework/Data/TDbTransaction.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -101,6 +101,7 @@
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
framework/I18N/core/CultureInfo.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -200,6 +200,7 @@  discard block
 block discarded – undo
200 200
 
201 201
 	/**
202 202
 	* Gets the CultureInfo that for this culture string
203
+	* @param string $culture
203 204
 	* @return CultureInfo invariant culture info is "en".
204 205
 	*/
205 206
 	public static function getInstance($culture)
@@ -228,6 +229,7 @@  discard block
 block discarded – undo
228 229
 	 * Set the culture for the current instance. The culture indentifier
229 230
 	 * must be of the form "<language>_(country/region)".
230 231
 	 * @param string culture identifier, e.g. "fr_FR_EURO".
232
+	 * @param string $culture
231 233
 	 */
232 234
 	protected function setCulture($culture)
233 235
 	{
@@ -243,6 +245,7 @@  discard block
 block discarded – undo
243 245
 	/**
244 246
 	 * Load the ICU culture data for the specific culture identifier.
245 247
 	 * @param string the culture identifier.
248
+	 * @param string $culture
246 249
 	 */
247 250
 	protected function loadCultureData($culture)
248 251
 	{
@@ -283,6 +286,7 @@  discard block
 block discarded – undo
283 286
 	 * The data files are cached in a static variable inside
284 287
 	 * this function.
285 288
 	 * @param string the ICU data filename
289
+	 * @param string $filename
286 290
 	 * @return array ICU data
287 291
 	 */
288 292
 	protected function &getData($filename)
@@ -386,6 +390,7 @@  discard block
 block discarded – undo
386 390
 	/**
387 391
 	 * Set the date time format information.
388 392
 	 * @param DateTimeFormatInfo the new date time format info.
393
+	 * @param DateTimeFormatInfo $dateTimeFormat
389 394
 	 */
390 395
 	function setDateTimeFormat($dateTimeFormat)
391 396
 	{
@@ -493,6 +498,7 @@  discard block
 block discarded – undo
493 498
 	/**
494 499
 	 * Set the number format information.
495 500
 	 * @param NumberFormatInfo the new number format info.
501
+	 * @param NumberFormatInfo $numberFormat
496 502
 	 */
497 503
 	function setNumberFormat($numberFormat)
498 504
 	{
Please login to merge, or discard this patch.