@@ -101,7 +101,8 @@ |
||
101 | 101 | } |
102 | 102 | |
103 | 103 | // Special keys |
104 | - switch ($keyCode) { |
|
104 | + switch ($keyCode) |
|
105 | + { |
|
105 | 106 | case self::BACKSPACE: |
106 | 107 | return lang("Back"); |
107 | 108 | case self::TAB: |
@@ -18,4 +18,6 @@ |
||
18 | 18 | /** |
19 | 19 | * Exception thrown by Cache classes |
20 | 20 | */ |
21 | -class Exception extends Api\Exception {} |
|
21 | +class Exception extends Api\Exception |
|
22 | +{ |
|
23 | +} |
@@ -44,7 +44,7 @@ |
||
44 | 44 | /** |
45 | 45 | * Primary mail address required as an alias too: true or false |
46 | 46 | */ |
47 | - const REQUIRE_MAIL_AS_ALIAS=false; |
|
47 | + const REQUIRE_MAIL_AS_ALIAS = false; |
|
48 | 48 | |
49 | 49 | /** |
50 | 50 | * Attribute for forwards OR false if not possible |
@@ -44,7 +44,7 @@ |
||
44 | 44 | /** |
45 | 45 | * Primary mail address required as an alias too: true or false |
46 | 46 | */ |
47 | - const REQUIRE_MAIL_AS_ALIAS=false; |
|
47 | + const REQUIRE_MAIL_AS_ALIAS = false; |
|
48 | 48 | |
49 | 49 | /** |
50 | 50 | * Attribute for forwards OR false if not possible |
@@ -44,7 +44,7 @@ |
||
44 | 44 | /** |
45 | 45 | * Primary mail address required as an alias too: true or false |
46 | 46 | */ |
47 | - const REQUIRE_MAIL_AS_ALIAS=false; |
|
47 | + const REQUIRE_MAIL_AS_ALIAS = false; |
|
48 | 48 | |
49 | 49 | /** |
50 | 50 | * Attribute for forwards OR false if not possible |
@@ -21,4 +21,6 @@ |
||
21 | 21 | * |
22 | 22 | * @deprecated use Api\Db\Exception\InvalidSql |
23 | 23 | */ |
24 | -class egw_exception_db_invalid_sql extends Api\Db\Exception {} |
|
24 | +class egw_exception_db_invalid_sql extends Api\Db\Exception |
|
25 | +{ |
|
26 | +} |
@@ -21,4 +21,6 @@ |
||
21 | 21 | * |
22 | 22 | * @deprecated use Api\Exception\NoPermission |
23 | 23 | */ |
24 | -class egw_exception_no_permission extends Api\Exception {} |
|
24 | +class egw_exception_no_permission extends Api\Exception |
|
25 | +{ |
|
26 | +} |
@@ -21,4 +21,6 @@ |
||
21 | 21 | * |
22 | 22 | * @deprecated use Api\Db\Exception |
23 | 23 | */ |
24 | -class egw_exception_db extends Api\Exception {} |
|
24 | +class egw_exception_db extends Api\Exception |
|
25 | +{ |
|
26 | +} |
@@ -47,7 +47,7 @@ |
||
47 | 47 | ); |
48 | 48 | |
49 | 49 | $custom = Api\Storage\Customfields::get('resources', true); |
50 | - foreach($custom as $name => $data) { |
|
50 | + foreach ($custom as $name => $data) { |
|
51 | 51 | $this->mapping_fields['#'.$name] = $data['label']; |
52 | 52 | } |
53 | 53 |
@@ -14,7 +14,8 @@ discard block |
||
14 | 14 | |
15 | 15 | class infolog_wizard_export_csv extends importexport_wizard_basic_export_csv |
16 | 16 | { |
17 | - public function __construct() { |
|
17 | + public function __construct() |
|
18 | + { |
|
18 | 19 | parent::__construct(); |
19 | 20 | |
20 | 21 | // Field mapping |
@@ -27,7 +28,8 @@ discard block |
||
27 | 28 | // Custom fields |
28 | 29 | unset($this->export_fields['custom']); // Heading, not a real field |
29 | 30 | $custom = Api\Storage\Customfields::get('infolog', true); |
30 | - foreach($custom as $name => $data) { |
|
31 | + foreach($custom as $name => $data) |
|
32 | + { |
|
31 | 33 | $this->export_fields['#'.$name] = $data['label']; |
32 | 34 | } |
33 | 35 | } |