@@ -86,6 +86,7 @@ discard block |
||
| 86 | 86 | |
| 87 | 87 | /** |
| 88 | 88 | * @param boolean whether this list is read-only or not |
| 89 | + * @param boolean $value |
|
| 89 | 90 | */ |
| 90 | 91 | protected function setReadOnly($value) |
| 91 | 92 | { |
@@ -95,7 +96,7 @@ discard block |
||
| 95 | 96 | /** |
| 96 | 97 | * Returns an iterator for traversing the items in the list. |
| 97 | 98 | * This method is required by the interface \IteratorAggregate. |
| 98 | - * @return Iterator an iterator for traversing the items in the list. |
|
| 99 | + * @return \ArrayIterator an iterator for traversing the items in the list. |
|
| 99 | 100 | */ |
| 100 | 101 | public function getIterator() |
| 101 | 102 | { |
@@ -68,6 +68,7 @@ discard block |
||
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | 70 | * @param mixed original data source |
| 71 | + * @param \Traversable $value |
|
| 71 | 72 | */ |
| 72 | 73 | public function setDataSource($value) |
| 73 | 74 | { |
@@ -93,6 +94,7 @@ discard block |
||
| 93 | 94 | |
| 94 | 95 | /** |
| 95 | 96 | * @param integer number of items in each page |
| 97 | + * @param integer $value |
|
| 96 | 98 | */ |
| 97 | 99 | public function setPageSize($value) |
| 98 | 100 | { |
@@ -112,6 +114,7 @@ discard block |
||
| 112 | 114 | |
| 113 | 115 | /** |
| 114 | 116 | * @param integer current page index |
| 117 | + * @param integer $value |
|
| 115 | 118 | */ |
| 116 | 119 | public function setCurrentPageIndex($value) |
| 117 | 120 | { |
@@ -130,6 +133,7 @@ discard block |
||
| 130 | 133 | |
| 131 | 134 | /** |
| 132 | 135 | * @param boolean whether to allow paging |
| 136 | + * @param boolean $value |
|
| 133 | 137 | */ |
| 134 | 138 | public function setAllowPaging($value) |
| 135 | 139 | { |
@@ -146,6 +150,7 @@ discard block |
||
| 146 | 150 | |
| 147 | 151 | /** |
| 148 | 152 | * @param boolean whether to allow custom paging |
| 153 | + * @param boolean $value |
|
| 149 | 154 | */ |
| 150 | 155 | public function setAllowCustomPaging($value) |
| 151 | 156 | { |
@@ -162,6 +167,7 @@ discard block |
||
| 162 | 167 | |
| 163 | 168 | /** |
| 164 | 169 | * @param integer user-assigned number of items in data source |
| 170 | + * @param integer $value |
|
| 165 | 171 | */ |
| 166 | 172 | public function setVirtualItemCount($value) |
| 167 | 173 | { |
@@ -28,6 +28,7 @@ |
||
| 28 | 28 | /** |
| 29 | 29 | * Constructor. |
| 30 | 30 | * @param integer old page index |
| 31 | + * @param integer $oldPage |
|
| 31 | 32 | */ |
| 32 | 33 | public function __construct($oldPage) |
| 33 | 34 | { |
@@ -143,6 +143,7 @@ discard block |
||
| 143 | 143 | /** |
| 144 | 144 | * This must be called internally or when instantiated. |
| 145 | 145 | * @param numeric sets the default priority of inserted items without a specified priority |
| 146 | + * @param integer $value |
|
| 146 | 147 | */ |
| 147 | 148 | protected function setDefaultPriority($value) |
| 148 | 149 | { |
@@ -160,6 +161,7 @@ discard block |
||
| 160 | 161 | /** |
| 161 | 162 | * This must be called internally or when instantiated. |
| 162 | 163 | * @param integer The precision of numeric priorities. |
| 164 | + * @param integer $value |
|
| 163 | 165 | */ |
| 164 | 166 | protected function setPrecision($value) |
| 165 | 167 | { |
@@ -169,7 +171,7 @@ discard block |
||
| 169 | 171 | /** |
| 170 | 172 | * Returns an iterator for traversing the items in the list. |
| 171 | 173 | * This method is required by the interface \IteratorAggregate. |
| 172 | - * @return Iterator an iterator for traversing the items in the list. |
|
| 174 | + * @return \ArrayIterator an iterator for traversing the items in the list. |
|
| 173 | 175 | */ |
| 174 | 176 | public function getIterator() |
| 175 | 177 | { |
@@ -596,6 +598,7 @@ discard block |
||
| 596 | 598 | * Combines the map elements which have a priority below the parameter value |
| 597 | 599 | * @param numeric the cut-off priority. All items of priority less than this are returned. |
| 598 | 600 | * @param boolean whether or not the input cut-off priority is inclusive. Default: false, not inclusive. |
| 601 | + * @param integer $priority |
|
| 599 | 602 | * @return array the array of priorities keys with values of arrays of items that are below a specified priority. |
| 600 | 603 | * The priorities are sorted so important priorities, lower numerics, are first. |
| 601 | 604 | */ |
@@ -616,6 +619,7 @@ discard block |
||
| 616 | 619 | * Combines the map elements which have a priority above the parameter value |
| 617 | 620 | * @param numeric the cut-off priority. All items of priority greater than this are returned. |
| 618 | 621 | * @param boolean whether or not the input cut-off priority is inclusive. Default: true, inclusive. |
| 622 | + * @param integer $priority |
|
| 619 | 623 | * @return array the array of priorities keys with values of arrays of items that are above a specified priority. |
| 620 | 624 | * The priorities are sorted so important priorities, lower numerics, are first. |
| 621 | 625 | */ |
@@ -149,7 +149,7 @@ |
||
| 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 | { |
@@ -148,7 +148,7 @@ |
||
| 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 | { |
@@ -28,6 +28,7 @@ |
||
| 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 |
@@ -91,6 +91,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -103,7 +103,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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) |