@@ -356,11 +356,17 @@ |
||
356 | 356 | } |
357 | 357 | } |
358 | 358 | |
359 | + /** |
|
360 | + * @param \Prado\Web\UI\ActiveControls\TCallbackEventParameter $param |
|
361 | + */ |
|
359 | 362 | public function onCallback($param) |
360 | 363 | { |
361 | 364 | $this->raiseEvent('OnCallback', $this, $param); |
362 | 365 | } |
363 | 366 | |
367 | + /** |
|
368 | + * @param \Prado\Web\UI\ActiveControls\TCallbackEventParameter $param |
|
369 | + */ |
|
364 | 370 | public function onCallbackExpired($param) |
365 | 371 | { |
366 | 372 | $this->raiseEvent('OnCallbackExpired', $this, $param); |
@@ -32,7 +32,7 @@ |
||
32 | 32 | private $_active = false; |
33 | 33 | |
34 | 34 | /** |
35 | - * @return the tag name for the view element |
|
35 | + * @return string tag name for the view element |
|
36 | 36 | */ |
37 | 37 | protected function getTagName() |
38 | 38 | { |
@@ -125,7 +125,7 @@ |
||
125 | 125 | /** |
126 | 126 | * Returns the value to be validated. |
127 | 127 | * This methid is required by \Prado\Web\UI\IValidatable interface. |
128 | - * @return mixed the value of the property to be validated. |
|
128 | + * @return string the value of the property to be validated. |
|
129 | 129 | */ |
130 | 130 | public function getValidationPropertyValue() |
131 | 131 | { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
64 | - * @return whether this web control must have an id |
|
64 | + * @return boolean this web control must have an id |
|
65 | 65 | */ |
66 | 66 | public function getEnsureId() |
67 | 67 | { |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | } |
252 | 252 | |
253 | 253 | /** |
254 | - * @return TDisplayStyle display style of the control, default is TDisplayStyle::Fixed |
|
254 | + * @return string display style of the control, default is TDisplayStyle::Fixed |
|
255 | 255 | */ |
256 | 256 | public function getDisplay() |
257 | 257 | { |
@@ -205,6 +205,10 @@ |
||
205 | 205 | return $code; |
206 | 206 | } |
207 | 207 | |
208 | + /** |
|
209 | + * @param string $classname |
|
210 | + * @param string $toString |
|
211 | + */ |
|
208 | 212 | protected function generateClass($properties, $tablename, $classname, $toString) |
209 | 213 | { |
210 | 214 | $props = implode("\n", $properties); |
@@ -235,7 +235,7 @@ |
||
235 | 235 | |
236 | 236 | /** |
237 | 237 | * Recursively converts DOM XML nodes into TXmlElement |
238 | - * @param DOMXmlNode $node the node to be converted |
|
238 | + * @param \DOMElement $node the node to be converted |
|
239 | 239 | * @return TXmlElement the converted TXmlElement |
240 | 240 | */ |
241 | 241 | protected function buildElement($node) |
@@ -243,7 +243,7 @@ |
||
243 | 243 | * invoke the page's {@link TPage::validate validate} method first. |
244 | 244 | * It will raise {@link onClick OnClick} and {@link onCommand OnCommand} events. |
245 | 245 | * This method is mainly used by framework and control developers. |
246 | - * @param TEventParameter $param the event parameter |
|
246 | + * @param \Prado\Web\UI\ActiveControls\TCallbackEventParameter $param the event parameter |
|
247 | 247 | */ |
248 | 248 | public function raisePostBackEvent($param) |
249 | 249 | { |
@@ -243,7 +243,7 @@ |
||
243 | 243 | * invoke the page's {@link TPage::validate validate} method first. |
244 | 244 | * It will raise {@link onClick OnClick} and {@link onCommand OnCommand} events. |
245 | 245 | * This method is mainly used by framework and control developers. |
246 | - * @param TEventParameter $param the event parameter |
|
246 | + * @param \Prado\Web\UI\ActiveControls\TCallbackEventParameter $param the event parameter |
|
247 | 247 | */ |
248 | 248 | public function raisePostBackEvent($param) |
249 | 249 | { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * Initializes the array with an array or an iterable object. |
97 | 97 | * @param null|array|Iterator|map|TPriorityMap $data the intial data. Default is null, meaning no initialization. |
98 | 98 | * @param bool $readOnly whether the list is read-only |
99 | - * @param numeric $defaultPriority the default priority of items without specified priorities. |
|
99 | + * @param integer $defaultPriority the default priority of items without specified priorities. |
|
100 | 100 | * @param int $precision the precision of the numeric priorities |
101 | 101 | * @throws TInvalidDataTypeException If data is not null and neither an array nor an iterator. |
102 | 102 | */ |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | |
137 | 137 | /** |
138 | 138 | * This must be called internally or when instantiated. |
139 | - * @param numeric $value sets the default priority of inserted items without a specified priority |
|
139 | + * @param integer $value sets the default priority of inserted items without a specified priority |
|
140 | 140 | */ |
141 | 141 | protected function setDefaultPriority($value) |
142 | 142 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | /** |
164 | 164 | * Returns an iterator for traversing the items in the map. |
165 | 165 | * This method is required by the interface \IteratorAggregate. |
166 | - * @return Iterator an iterator for traversing the items in the map. |
|
166 | + * @return \ArrayIterator an iterator for traversing the items in the map. |
|
167 | 167 | */ |
168 | 168 | public function getIterator() |
169 | 169 | { |
@@ -358,7 +358,7 @@ discard block |
||
358 | 358 | * @param mixed $value |
359 | 359 | * @param null|numeric $priority default: null, filled in with default priority |
360 | 360 | * @throws TInvalidOperationException if the map is read-only |
361 | - * @return numeric priority at which the pair was added |
|
361 | + * @return string priority at which the pair was added |
|
362 | 362 | */ |
363 | 363 | public function add($key, $value, $priority = null) |
364 | 364 | { |