@@ -179,7 +179,7 @@ |
||
179 | 179 | * Returns the value of the TSlider control. |
180 | 180 | * This method is required by {@link IDataRenderer}. |
181 | 181 | * It is the same as {@link getValue()}. |
182 | - * @return string the value of the TSlider control. |
|
182 | + * @return double the value of the TSlider control. |
|
183 | 183 | * @see getValue |
184 | 184 | */ |
185 | 185 | public function getData() |
@@ -144,6 +144,7 @@ discard block |
||
144 | 144 | |
145 | 145 | /** |
146 | 146 | * @param string table caption |
147 | + * @param string $value |
|
147 | 148 | */ |
148 | 149 | public function setCaption($value) |
149 | 150 | { |
@@ -160,6 +161,7 @@ discard block |
||
160 | 161 | |
161 | 162 | /** |
162 | 163 | * @param TTableCaptionAlign table caption alignment. |
164 | + * @param TTableCaptionAlign $value |
|
163 | 165 | */ |
164 | 166 | public function setCaptionAlign($value) |
165 | 167 | { |
@@ -118,7 +118,7 @@ |
||
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |
121 | - * @return ITemplate the item template |
|
121 | + * @return string the item template |
|
122 | 122 | */ |
123 | 123 | public function getItemTemplate() |
124 | 124 | { |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | /** |
238 | 238 | * Returns the value to be validated. |
239 | 239 | * This methid is required by IValidatable interface. |
240 | - * @return mixed the value of the property to be validated. |
|
240 | + * @return string the value of the property to be validated. |
|
241 | 241 | */ |
242 | 242 | public function getValidationPropertyValue() |
243 | 243 | { |
@@ -342,6 +342,7 @@ discard block |
||
342 | 342 | * An automatic postback to the server will occur whenever the user |
343 | 343 | * modifies the text in the TTextBox control and then tabs out of the component. |
344 | 344 | * @param boolean the value indicating if postback automatically |
345 | + * @param boolean $value |
|
345 | 346 | */ |
346 | 347 | public function setAutoPostBack($value) |
347 | 348 | { |
@@ -425,6 +426,7 @@ discard block |
||
425 | 426 | |
426 | 427 | /** |
427 | 428 | * @param boolean whether the textbox is read only |
429 | + * @param boolean $value |
|
428 | 430 | */ |
429 | 431 | public function setReadOnly($value) |
430 | 432 | { |
@@ -157,6 +157,7 @@ |
||
157 | 157 | * Processes a text string. |
158 | 158 | * This method is required by the parent class. |
159 | 159 | * @param string text string to be processed |
160 | + * @param string $text |
|
160 | 161 | * @return string the processed text result |
161 | 162 | */ |
162 | 163 | public function processText($text) |
@@ -113,6 +113,7 @@ |
||
113 | 113 | |
114 | 114 | /** |
115 | 115 | * @param string button caption |
116 | + * @param string $value |
|
116 | 117 | */ |
117 | 118 | public function setButtonText($value) |
118 | 119 | { |
@@ -207,6 +207,10 @@ |
||
207 | 207 | return $code; |
208 | 208 | } |
209 | 209 | |
210 | + /** |
|
211 | + * @param string $classname |
|
212 | + * @param string $toString |
|
213 | + */ |
|
210 | 214 | protected function generateClass($properties, $tablename, $classname, $toString) |
211 | 215 | { |
212 | 216 | $props = implode("\n", $properties); |
@@ -44,6 +44,10 @@ discard block |
||
44 | 44 | |
45 | 45 | //--------------------------------------------------------------------- |
46 | 46 | // <editor-fold defaultstate="collapsed" desc="Page Generation"> |
47 | + |
|
48 | + /** |
|
49 | + * @param integer $viewType |
|
50 | + */ |
|
47 | 51 | public function generate($tableName, $viewType) |
48 | 52 | { |
49 | 53 | switch ($viewType) |
@@ -141,6 +145,10 @@ discard block |
||
141 | 145 | // </editor-fold> |
142 | 146 | //--------------------------------------------------------------------- |
143 | 147 | // <editor-fold defaultstate="collapsed" desc="Code Behind Generation"> |
148 | + |
|
149 | + /** |
|
150 | + * @param string $classname |
|
151 | + */ |
|
144 | 152 | private function generateClass($classname) |
145 | 153 | { |
146 | 154 | $date = date('Y-m-d h:i:s'); |
@@ -136,6 +136,7 @@ |
||
136 | 136 | * @param mixed Name of the PHP variable to bind to the SQL statement parameter |
137 | 137 | * @param int SQL data type of the parameter |
138 | 138 | * @param int length of the data type |
139 | + * @param string $name |
|
139 | 140 | * @see http://www.php.net/manual/en/function.PDOStatement-bindParam.php |
140 | 141 | */ |
141 | 142 | public function bindParameter($name, &$value, $dataType=null, $length=null) |