@@ -48,7 +48,7 @@ |
||
| 48 | 48 | |
| 49 | 49 | <?php endif; ?> |
| 50 | 50 | |
| 51 | - <?php if (array_key_exists('previous_posts', $member_interests) ): ?> |
|
| 51 | + <?php if (array_key_exists('previous_posts', $member_interests)): ?> |
|
| 52 | 52 | |
| 53 | 53 | <h3><?=gettext('Committee memberships held in the past') ?></h3> |
| 54 | 54 | |
@@ -213,12 +213,12 @@ discard block |
||
| 213 | 213 | } |
| 214 | 214 | |
| 215 | 215 | /** |
| 216 | - * Image |
|
| 217 | - * |
|
| 218 | - * Return a URL for the member's image. |
|
| 219 | - * |
|
| 220 | - * @return string The URL of the member's image. |
|
| 221 | - */ |
|
| 216 | + * Image |
|
| 217 | + * |
|
| 218 | + * Return a URL for the member's image. |
|
| 219 | + * |
|
| 220 | + * @return string The URL of the member's image. |
|
| 221 | + */ |
|
| 222 | 222 | |
| 223 | 223 | public function image() { |
| 224 | 224 | |
@@ -271,15 +271,15 @@ discard block |
||
| 271 | 271 | } |
| 272 | 272 | |
| 273 | 273 | /** |
| 274 | - * Offices |
|
| 275 | - * |
|
| 276 | - * Return an array of Office objects held (or previously held) by the member. |
|
| 277 | - * |
|
| 278 | - * @param string $include_only Restrict the list to include only "previous" or "current" offices. |
|
| 279 | - * @param bool $ignore_committees Ignore offices that appear to be committee memberships. |
|
| 280 | - * |
|
| 281 | - * @return array An array of Office objects. |
|
| 282 | - */ |
|
| 274 | + * Offices |
|
| 275 | + * |
|
| 276 | + * Return an array of Office objects held (or previously held) by the member. |
|
| 277 | + * |
|
| 278 | + * @param string $include_only Restrict the list to include only "previous" or "current" offices. |
|
| 279 | + * @param bool $ignore_committees Ignore offices that appear to be committee memberships. |
|
| 280 | + * |
|
| 281 | + * @return array An array of Office objects. |
|
| 282 | + */ |
|
| 283 | 283 | |
| 284 | 284 | public function offices($include_only = null, $ignore_committees = false, $committees_only = false) { |
| 285 | 285 | |
@@ -337,12 +337,12 @@ discard block |
||
| 337 | 337 | } |
| 338 | 338 | |
| 339 | 339 | /** |
| 340 | - * Get Other Parties String |
|
| 341 | - * |
|
| 342 | - * Return a readable list of party changes for this member. |
|
| 343 | - * |
|
| 344 | - * @return string|null A readable list of the party changes for this member. |
|
| 345 | - */ |
|
| 340 | + * Get Other Parties String |
|
| 341 | + * |
|
| 342 | + * Return a readable list of party changes for this member. |
|
| 343 | + * |
|
| 344 | + * @return string|null A readable list of the party changes for this member. |
|
| 345 | + */ |
|
| 346 | 346 | |
| 347 | 347 | public function getOtherPartiesString() { |
| 348 | 348 | |
@@ -361,12 +361,12 @@ discard block |
||
| 361 | 361 | } |
| 362 | 362 | |
| 363 | 363 | /** |
| 364 | - * Get Other Constituencies String |
|
| 365 | - * |
|
| 366 | - * Return a readable list of other constituencies for this member. |
|
| 367 | - * |
|
| 368 | - * @return string|null A readable list of the other constituencies for this member. |
|
| 369 | - */ |
|
| 364 | + * Get Other Constituencies String |
|
| 365 | + * |
|
| 366 | + * Return a readable list of other constituencies for this member. |
|
| 367 | + * |
|
| 368 | + * @return string|null A readable list of the other constituencies for this member. |
|
| 369 | + */ |
|
| 370 | 370 | |
| 371 | 371 | public function getOtherConstituenciesString() { |
| 372 | 372 | |
@@ -379,14 +379,14 @@ discard block |
||
| 379 | 379 | } |
| 380 | 380 | |
| 381 | 381 | /** |
| 382 | - * Get Entered/Left Strings |
|
| 383 | - * |
|
| 384 | - * Return an array of readable strings covering when people entered or left |
|
| 385 | - * various houses. Returns an array since it's possible for a member to have |
|
| 386 | - * done several of these things. |
|
| 387 | - * |
|
| 388 | - * @return array An array of strings of when this member entered or left houses. |
|
| 389 | - */ |
|
| 382 | + * Get Entered/Left Strings |
|
| 383 | + * |
|
| 384 | + * Return an array of readable strings covering when people entered or left |
|
| 385 | + * various houses. Returns an array since it's possible for a member to have |
|
| 386 | + * done several of these things. |
|
| 387 | + * |
|
| 388 | + * @return array An array of strings of when this member entered or left houses. |
|
| 389 | + */ |
|
| 390 | 390 | public function getEnterLeaveStrings() { |
| 391 | 391 | $output = []; |
| 392 | 392 | |