@@ -264,6 +264,9 @@ |
||
264 | 264 | { |
265 | 265 | private $_template; |
266 | 266 | |
267 | + /** |
|
268 | + * @param string $template |
|
269 | + */ |
|
267 | 270 | public function __construct($template) |
268 | 271 | { |
269 | 272 | $this->_template = $template; |
@@ -234,6 +234,7 @@ discard block |
||
234 | 234 | |
235 | 235 | /** |
236 | 236 | * @param string javascript or css package path. |
237 | + * @param string $base |
|
237 | 238 | * @return array tuple($path,$url). |
238 | 239 | */ |
239 | 240 | protected function getPackagePathUrl($base) |
@@ -576,6 +577,8 @@ discard block |
||
576 | 577 | * @param string a unique key identifying the hidden field |
577 | 578 | * @param string|array hidden field value, if the value is an array, every element |
578 | 579 | * in the array will be rendered as a hidden field value. |
580 | + * @param string $name |
|
581 | + * @param string $value |
|
579 | 582 | */ |
580 | 583 | public function registerHiddenField($name,$value) |
581 | 584 | { |
@@ -815,6 +818,7 @@ discard block |
||
815 | 818 | |
816 | 819 | /** |
817 | 820 | * @param THtmlWriter writer for the rendering purpose |
821 | + * @param boolean $initial |
|
818 | 822 | */ |
819 | 823 | protected function renderHiddenFieldsInt($writer, $initial) |
820 | 824 | { |
@@ -879,6 +883,7 @@ discard block |
||
879 | 883 | * javascript statements. |
880 | 884 | * @param string option name |
881 | 885 | * @param string javascript statements. |
886 | + * @param string $name |
|
882 | 887 | */ |
883 | 888 | protected function setFunction($name, $code) |
884 | 889 | { |
@@ -888,6 +893,7 @@ discard block |
||
888 | 893 | } |
889 | 894 | |
890 | 895 | /** |
896 | + * @param string $name |
|
891 | 897 | * @return string gets a particular option, null if not set. |
892 | 898 | */ |
893 | 899 | protected function getOption($name) |
@@ -126,7 +126,7 @@ |
||
126 | 126 | /** |
127 | 127 | * Returns the value to be validated. |
128 | 128 | * This methid is required by IValidatable interface. |
129 | - * @return mixed the value of the property to be validated. |
|
129 | + * @return string the value of the property to be validated. |
|
130 | 130 | */ |
131 | 131 | public function getValidationPropertyValue() |
132 | 132 | { |
@@ -126,7 +126,7 @@ |
||
126 | 126 | /** |
127 | 127 | * Returns the value to be validated. |
128 | 128 | * This methid is required by IValidatable interface. |
129 | - * @return mixed the value of the property to be validated. |
|
129 | + * @return string the value of the property to be validated. |
|
130 | 130 | */ |
131 | 131 | public function getValidationPropertyValue() |
132 | 132 | { |