Completed
Push — namespace2 ( fc6e2b...8a6673 )
by Fabio
08:49
created
framework/Collections/TPriorityMap.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,6 +118,7 @@  discard block
 block discarded – undo
118 118
 
119 119
 	/**
120 120
 	 * @param boolean whether this list is read-only or not
121
+	 * @param boolean $value
121 122
 	 */
122 123
 	protected function setReadOnly($value)
123 124
 	{
@@ -135,6 +136,7 @@  discard block
 block discarded – undo
135 136
 	/**
136 137
 	 * This must be called internally or when instantiated.
137 138
 	 * @param numeric sets the default priority of inserted items without a specified priority
139
+	 * @param integer $value
138 140
 	 */
139 141
 	protected function setDefaultPriority($value)
140 142
 	{
@@ -152,6 +154,7 @@  discard block
 block discarded – undo
152 154
 	/**
153 155
 	 * This must be called internally or when instantiated.
154 156
 	 * @param integer The precision of numeric priorities.
157
+	 * @param integer $value
155 158
 	 */
156 159
 	protected function setPrecision($value)
157 160
 	{
@@ -161,7 +164,7 @@  discard block
 block discarded – undo
161 164
 	/**
162 165
 	 * Returns an iterator for traversing the items in the map.
163 166
 	 * This method is required by the interface \IteratorAggregate.
164
-	 * @return Iterator an iterator for traversing the items in the map.
167
+	 * @return \ArrayIterator an iterator for traversing the items in the map.
165 168
 	 */
166 169
 	public function getIterator()
167 170
 	{
@@ -342,7 +345,7 @@  discard block
 block discarded – undo
342 345
 	 * @param mixed key
343 346
 	 * @param mixed value
344 347
 	 * @param numeric|null priority, default: null, filled in with default priority
345
-	 * @return numeric priority at which the pair was added
348
+	 * @return string priority at which the pair was added
346 349
 	 * @throws TInvalidOperationException if the map is read-only
347 350
 	 */
348 351
 	public function add($key,$value,$priority=null)
Please login to merge, or discard this patch.
framework/Collections/TQueue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
 	/**
150 150
 	 * Returns an iterator for traversing the items in the queue.
151 151
 	 * This method is required by the interface \IteratorAggregate.
152
-	 * @return Iterator an iterator for traversing the items in the queue.
152
+	 * @return \ArrayIterator an iterator for traversing the items in the queue.
153 153
 	 */
154 154
 	public function getIterator()
155 155
 	{
Please login to merge, or discard this patch.
framework/Collections/TStack.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
 	/**
149 149
 	 * Returns an iterator for traversing the items in the stack.
150 150
 	 * This method is required by the interface \IteratorAggregate.
151
-	 * @return Iterator an iterator for traversing the items in the stack.
151
+	 * @return \ArrayIterator an iterator for traversing the items in the stack.
152 152
 	 */
153 153
 	public function getIterator()
154 154
 	{
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	}
166 166
 
167 167
 	/**
168
-	 * @return TDataGatewayCommand
168
+	 * @return \Prado\Data\DataGateway\TDataGatewayCommand
169 169
 	 */
170 170
 	protected function getCommandBuilder()
171 171
 	{
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
 	}
174 174
 
175 175
 	/**
176
-	 * @return TDataGatewayCommand
176
+	 * @return \Prado\Data\DataGateway\TDataGatewayCommand
177 177
 	 */
178 178
 	protected function getForeignCommandBuilder()
179 179
 	{
@@ -210,6 +210,7 @@  discard block
 block discarded – undo
210 210
 	 * @param string active record class name.
211 211
 	 * @param array row data
212 212
 	 * @param array foreign key column names
213
+	 * @param string $type
213 214
 	 * @return TActiveRecord
214 215
 	 */
215 216
 	protected function createFkObject($type,$row,$foreignKeys)
@@ -343,6 +344,9 @@  discard block
 block discarded – undo
343 344
 		return $this->getCommandBuilder()->onExecuteCommand($command, $command->execute()) > 0;
344 345
 	}
345 346
 
347
+	/**
348
+	 * @param TActiveRecord $obj
349
+	 */
346 350
 	private function updateAssociationTable($obj,$fkObjects, $builder)
347 351
 	{
348 352
 		$source = $this->getSourceRecordValues($obj);
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@  discard block
 block discarded – undo
35 35
 	private $_relation; //data from an entry of TActiveRecord::$RELATION
36 36
 	private $_fkeys;
37 37
 
38
+	/**
39
+	 * @param TActiveRecord $record
40
+	 */
38 41
 	public function __construct($record, $property=null, $relation=null)
39 42
 	{
40 43
 		$this->_record=$record;
@@ -168,6 +171,7 @@  discard block
 block discarded – undo
168 171
 	 * An instance of TActiveRecordHasOne, TActiveRecordBelongsTo, TActiveRecordHasMany,
169 172
 	 * or TActiveRecordHasManyAssocation will be returned.
170 173
 	 * @param TActiveRecordCriteria search criteria
174
+	 * @param \Prado\Data\DataGateway\TSqlCriteria $criteria
171 175
 	 * @return TActiveRecordRelation record relationship handler instnace.
172 176
 	 * @throws TActiveRecordException if property is not defined or missing.
173 177
 	 */
@@ -196,7 +200,7 @@  discard block
 block discarded – undo
196 200
 	}
197 201
 
198 202
 	/**
199
-	 * @return TActiveRecordRelationCommand
203
+	 * @return boolean
200 204
 	 */
201 205
 	public function updateAssociatedRecords($updateBelongsTo=false)
202 206
 	{
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Scaffold/InputBuilder/TScaffoldInputBase.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -52,6 +52,10 @@  discard block
 block discarded – undo
52 52
 		}
53 53
 	}
54 54
 
55
+	/**
56
+	 * @param \Prado\Data\ActiveRecord\Scaffold\TScaffoldEditView $parent
57
+	 * @param \Prado\Data\ActiveRecord\TActiveRecord $record
58
+	 */
55 59
 	public function createScaffoldInput($parent, $item, $column, $record)
56 60
 	{
57 61
 		$this->_parent=$parent;
@@ -68,6 +72,10 @@  discard block
 block discarded – undo
68 72
 		$label->setForControl(self::DEFAULT_ID);
69 73
 	}
70 74
 
75
+	/**
76
+	 * @param \Prado\Data\ActiveRecord\Scaffold\TScaffoldEditView $parent
77
+	 * @param \Prado\Data\ActiveRecord\TActiveRecord $record
78
+	 */
71 79
 	public function loadScaffoldInput($parent, $item, $column, $record)
72 80
 	{
73 81
 		$this->_parent=$parent;
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Scaffold/IScaffoldEditRenderer.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@
 block discarded – undo
28 28
 	/**
29 29
 	 * This method should update the record with the user input data.
30 30
 	 * @param TActiveRecord record to be saved.
31
+	 * @param \Prado\Data\ActiveRecord\TActiveRecord $record
31 32
 	 */
32 33
 	public function updateRecord($record);
33 34
 }
34 35
\ No newline at end of file
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Scaffold/TScaffoldBase.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -91,6 +91,7 @@  discard block
 block discarded – undo
91 91
 	/**
92 92
 	 * Name of the Active Record class to be viewed or scaffolded.
93 93
 	 * @param string Active Record class name.
94
+	 * @param string $value
94 95
 	 */
95 96
 	public function setRecordClass($value)
96 97
 	{
@@ -190,6 +191,7 @@  discard block
 block discarded – undo
190 191
 
191 192
 	/**
192 193
 	 * @param boolean enable default stylesheet, default is true.
194
+	 * @param boolean $value
193 195
 	 */
194 196
 	public function setEnableDefaultStyle($value)
195 197
 	{
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 	}
104 104
 
105 105
 	/**
106
-	 * @return TActiveRecord current Active Record instance
106
+	 * @return \Prado\Data\ActiveRecord\TActiveRecord current Active Record instance
107 107
 	 */
108 108
 	protected function getCurrentRecord()
109 109
 	{
@@ -136,6 +136,8 @@  discard block
 block discarded – undo
136 136
 	 * Instantiate the external edit renderer.
137 137
 	 * @param TActiveRecord record to be edited
138 138
 	 * @param string external edit renderer class name.
139
+	 * @param \Prado\Data\ActiveRecord\TActiveRecord $record
140
+	 * @param string $classPath
139 141
 	 * @throws TConfigurationException raised when renderer is not an
140 142
 	 * instance of IScaffoldEditRenderer.
141 143
 	 */
@@ -267,6 +269,7 @@  discard block
 block discarded – undo
267 269
 	/**
268 270
 	 * Create the default scaffold editor control factory.
269 271
 	 * @param TActiveRecord record instance.
272
+	 * @param \Prado\Data\ActiveRecord\TActiveRecord $record
270 273
 	 * @return TScaffoldInputBase scaffold editor control factory.
271 274
 	 */
272 275
 	protected function getScaffoldInputBuilder($record)
Please login to merge, or discard this patch.