@@ -127,6 +127,7 @@ discard block |
||
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | /** |
| 130 | + * @param boolean $bool |
|
| 130 | 131 | */ |
| 131 | 132 | public function setReadonly($bool) |
| 132 | 133 | { |
@@ -299,7 +300,7 @@ discard block |
||
| 299 | 300 | * |
| 300 | 301 | * @param array $array |
| 301 | 302 | * |
| 302 | - * @return JSON |
|
| 303 | + * @return string |
|
| 303 | 304 | */ |
| 304 | 305 | protected function array2json(array $array) |
| 305 | 306 | { |
@@ -84,7 +84,6 @@ |
||
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | - * @param array $availableClasses - e.g. Array(MyFavouriteClassName, MyOtherFavouriteClassName) |
|
| 88 | 87 | */ |
| 89 | 88 | public function setAvailableClasses(array $array) |
| 90 | 89 | { |
@@ -56,6 +56,7 @@ discard block |
||
| 56 | 56 | |
| 57 | 57 | /** |
| 58 | 58 | * @param int |
| 59 | + * @param integer $days |
|
| 59 | 60 | * |
| 60 | 61 | * @return EcommerceSearchHistoryFormField |
| 61 | 62 | */ |
@@ -68,6 +69,7 @@ discard block |
||
| 68 | 69 | |
| 69 | 70 | /** |
| 70 | 71 | * @param int |
| 72 | + * @param integer $count |
|
| 71 | 73 | * |
| 72 | 74 | * @return EcommerceSearchHistoryFormField |
| 73 | 75 | */ |
@@ -80,6 +82,7 @@ discard block |
||
| 80 | 82 | |
| 81 | 83 | /** |
| 82 | 84 | * @param int |
| 85 | + * @param boolean $b |
|
| 83 | 86 | * |
| 84 | 87 | * @return EcommerceSearchHistoryFormField |
| 85 | 88 | */ |
@@ -92,6 +95,7 @@ discard block |
||
| 92 | 95 | |
| 93 | 96 | /** |
| 94 | 97 | * @param int |
| 98 | + * @param integer $count |
|
| 95 | 99 | * |
| 96 | 100 | * @return EcommerceSearchHistoryFormField |
| 97 | 101 | */ |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | /** |
| 106 | 106 | * alias of OrderItem. |
| 107 | 107 | * |
| 108 | - * @return OrderItem |
|
| 108 | + * @return Order |
|
| 109 | 109 | **/ |
| 110 | 110 | public function Item() |
| 111 | 111 | { |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | - * @return OrderItem |
|
| 116 | + * @return Order |
|
| 117 | 117 | **/ |
| 118 | 118 | public function OrderItem() |
| 119 | 119 | { |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | } |
| 186 | 186 | |
| 187 | 187 | /** |
| 188 | - * @return string (HTML) |
|
| 188 | + * @return HTMLText (HTML) |
|
| 189 | 189 | **/ |
| 190 | 190 | public function forTemplate() |
| 191 | 191 | { |
@@ -11,6 +11,10 @@ discard block |
||
| 11 | 11 | **/ |
| 12 | 12 | class ExpiryDateField extends TextField |
| 13 | 13 | { |
| 14 | + /** |
|
| 15 | + * @param string $name |
|
| 16 | + * @param string $title |
|
| 17 | + */ |
|
| 14 | 18 | public function __construct($name, $title = null, $value = '', $form = null) |
| 15 | 19 | { |
| 16 | 20 | /* |
@@ -44,7 +48,7 @@ discard block |
||
| 44 | 48 | } |
| 45 | 49 | |
| 46 | 50 | /** |
| 47 | - *@return HTML |
|
| 51 | + *@return string |
|
| 48 | 52 | **/ |
| 49 | 53 | public function Field($properties = array()) |
| 50 | 54 | { |
@@ -223,7 +227,7 @@ discard block |
||
| 223 | 227 | /** |
| 224 | 228 | * @param string $title |
| 225 | 229 | * |
| 226 | - * @return ConfirmedPasswordField |
|
| 230 | + * @return ExpiryDateField |
|
| 227 | 231 | */ |
| 228 | 232 | public function setRightTitle($title) |
| 229 | 233 | { |
@@ -262,9 +266,9 @@ discard block |
||
| 262 | 266 | * Value is sometimes an array, and sometimes a single value, so we need |
| 263 | 267 | * to handle both cases. |
| 264 | 268 | * |
| 265 | - * @param mixed $value |
|
| 269 | + * @param string $value |
|
| 266 | 270 | * |
| 267 | - * @return ConfirmedPasswordField |
|
| 271 | + * @return ExpiryDateField |
|
| 268 | 272 | */ |
| 269 | 273 | public function setValue($value, $data = null) |
| 270 | 274 | { |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | /** |
| 130 | 130 | * standard SS method. |
| 131 | 131 | * |
| 132 | - * @return Field |
|
| 132 | + * @return OrderStepField |
|
| 133 | 133 | */ |
| 134 | 134 | public function performReadonlyTransformation() |
| 135 | 135 | { |
@@ -118,7 +118,6 @@ |
||
| 118 | 118 | * |
| 119 | 119 | * @link $record}, with the same name as the field name. |
| 120 | 120 | * |
| 121 | - * @param Form $form Reference to the container form |
|
| 122 | 121 | */ |
| 123 | 122 | public function __construct($name, $title = null, SS_List $items = null) |
| 124 | 123 | { |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | * Standard SS method - returns the string for the Field. |
| 41 | 41 | * Note that we include JS from this method. |
| 42 | 42 | * |
| 43 | - * @return HTML |
|
| 43 | + * @return string |
|
| 44 | 44 | */ |
| 45 | 45 | public function Field($properties = array()) |
| 46 | 46 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | * @param DataObject $record |
| 18 | 18 | * @param string $columnName |
| 19 | 19 | * |
| 20 | - * @return string - the HTML for the column |
|
| 20 | + * @return HTMLText - the HTML for the column |
|
| 21 | 21 | */ |
| 22 | 22 | public function getColumnContent($gridField, $record, $columnName) |
| 23 | 23 | { |