@@ -4,8 +4,8 @@ |
||
4 | 4 | |
5 | 5 | class myErrorHandler extends \Exception |
6 | 6 | { |
7 | - public function proc_error($errno, $errstr, $errfile, $errline) |
|
8 | - { |
|
9 | - echo "Error No: $errno, line: $errline --- ".$errstr.'<br>'; |
|
10 | - } |
|
7 | + public function proc_error($errno, $errstr, $errfile, $errline) |
|
8 | + { |
|
9 | + echo "Error No: $errno, line: $errline --- ".$errstr.'<br>'; |
|
10 | + } |
|
11 | 11 | } |
@@ -11,27 +11,27 @@ |
||
11 | 11 | */ |
12 | 12 | class ScheduleMonthly extends Common |
13 | 13 | { |
14 | - /** |
|
15 | - * Repeat every month next 'Every' days. |
|
16 | - * @var integer |
|
17 | - */ |
|
18 | - public $every; |
|
14 | + /** |
|
15 | + * Repeat every month next 'Every' days. |
|
16 | + * @var integer |
|
17 | + */ |
|
18 | + public $every; |
|
19 | 19 | |
20 | - /** |
|
21 | - * Monthly schedule mode |
|
22 | - * @var string |
|
23 | - */ |
|
24 | - public $mode; |
|
20 | + /** |
|
21 | + * Monthly schedule mode |
|
22 | + * @var string |
|
23 | + */ |
|
24 | + public $mode; |
|
25 | 25 | |
26 | - /** |
|
27 | - * An array of month days for monthly schedule if the mode 'dates' was chosen. |
|
28 | - * @var integer[] |
|
29 | - */ |
|
30 | - public $dates = []; |
|
26 | + /** |
|
27 | + * An array of month days for monthly schedule if the mode 'dates' was chosen. |
|
28 | + * @var integer[] |
|
29 | + */ |
|
30 | + public $dates = []; |
|
31 | 31 | |
32 | - /** |
|
33 | - * Monthly schedule option if the mode 'nth' was chosen. |
|
34 | - * @var ScheduleMonthlyNth |
|
35 | - */ |
|
36 | - public $nth; |
|
32 | + /** |
|
33 | + * Monthly schedule option if the mode 'nth' was chosen. |
|
34 | + * @var ScheduleMonthlyNth |
|
35 | + */ |
|
36 | + public $nth; |
|
37 | 37 | } |
38 | 38 | \ No newline at end of file |
@@ -12,47 +12,47 @@ |
||
12 | 12 | */ |
13 | 13 | class Schedule extends Common |
14 | 14 | { |
15 | - /** |
|
16 | - * Gets or sets a value indicating whether this is enabled. |
|
17 | - * @var Boolean |
|
18 | - */ |
|
19 | - public $enabled; |
|
20 | - |
|
21 | - /** |
|
22 | - * When schedule will be started from. |
|
23 | - * @var string |
|
24 | - */ |
|
25 | - public $from; |
|
26 | - |
|
27 | - /** |
|
28 | - * Schedule mode<br> |
|
29 | - * Available values:<br> |
|
30 | - * daily, weekly, monthly, annually |
|
31 | - * @var string |
|
32 | - */ |
|
33 | - public $mode; |
|
34 | - |
|
35 | - /** |
|
36 | - * If schedule mode is daily, specifies daily schedule data. |
|
37 | - * @var ScheduleDaily |
|
38 | - */ |
|
39 | - public $daily; |
|
40 | - |
|
41 | - /** |
|
42 | - * If schedule mode is weekly, specifies weekly schedule data. |
|
43 | - * @var ScheduleWeekly |
|
44 | - */ |
|
45 | - public $weekly; |
|
46 | - |
|
47 | - /** |
|
48 | - * If schedule mode is monthly, specifies monthly schedule data. |
|
49 | - * @var ScheduleMonthly |
|
50 | - */ |
|
51 | - public $monthly; |
|
52 | - |
|
53 | - /** |
|
54 | - * If schedule mode is annually, specifies annually schedule data. |
|
55 | - * @var ScheduleAnnually |
|
56 | - */ |
|
57 | - public $annually; |
|
15 | + /** |
|
16 | + * Gets or sets a value indicating whether this is enabled. |
|
17 | + * @var Boolean |
|
18 | + */ |
|
19 | + public $enabled; |
|
20 | + |
|
21 | + /** |
|
22 | + * When schedule will be started from. |
|
23 | + * @var string |
|
24 | + */ |
|
25 | + public $from; |
|
26 | + |
|
27 | + /** |
|
28 | + * Schedule mode<br> |
|
29 | + * Available values:<br> |
|
30 | + * daily, weekly, monthly, annually |
|
31 | + * @var string |
|
32 | + */ |
|
33 | + public $mode; |
|
34 | + |
|
35 | + /** |
|
36 | + * If schedule mode is daily, specifies daily schedule data. |
|
37 | + * @var ScheduleDaily |
|
38 | + */ |
|
39 | + public $daily; |
|
40 | + |
|
41 | + /** |
|
42 | + * If schedule mode is weekly, specifies weekly schedule data. |
|
43 | + * @var ScheduleWeekly |
|
44 | + */ |
|
45 | + public $weekly; |
|
46 | + |
|
47 | + /** |
|
48 | + * If schedule mode is monthly, specifies monthly schedule data. |
|
49 | + * @var ScheduleMonthly |
|
50 | + */ |
|
51 | + public $monthly; |
|
52 | + |
|
53 | + /** |
|
54 | + * If schedule mode is annually, specifies annually schedule data. |
|
55 | + * @var ScheduleAnnually |
|
56 | + */ |
|
57 | + public $annually; |
|
58 | 58 | } |
59 | 59 | \ No newline at end of file |
@@ -12,27 +12,27 @@ |
||
12 | 12 | */ |
13 | 13 | class ScheduleAnnually extends Common |
14 | 14 | { |
15 | - /** |
|
16 | - * Repeat every year next 'Every' months. |
|
17 | - * @var integer |
|
18 | - */ |
|
19 | - public $every; |
|
15 | + /** |
|
16 | + * Repeat every year next 'Every' months. |
|
17 | + * @var integer |
|
18 | + */ |
|
19 | + public $every; |
|
20 | 20 | |
21 | - /** |
|
22 | - * If true, use NTH mode. |
|
23 | - * @var Boolean |
|
24 | - */ |
|
25 | - public $use_nth; |
|
21 | + /** |
|
22 | + * If true, use NTH mode. |
|
23 | + * @var Boolean |
|
24 | + */ |
|
25 | + public $use_nth; |
|
26 | 26 | |
27 | - /** |
|
28 | - * An array of the month numbers. |
|
29 | - * @var integer[] |
|
30 | - */ |
|
31 | - public $months; |
|
27 | + /** |
|
28 | + * An array of the month numbers. |
|
29 | + * @var integer[] |
|
30 | + */ |
|
31 | + public $months; |
|
32 | 32 | |
33 | - /** |
|
34 | - * Annualy schedule option if 'UseNth' is true. |
|
35 | - * @var ScheduleMonthlyNth |
|
36 | - */ |
|
37 | - public $nth; |
|
33 | + /** |
|
34 | + * Annualy schedule option if 'UseNth' is true. |
|
35 | + * @var ScheduleMonthlyNth |
|
36 | + */ |
|
37 | + public $nth; |
|
38 | 38 | } |
39 | 39 | \ No newline at end of file |
@@ -11,15 +11,15 @@ |
||
11 | 11 | */ |
12 | 12 | class ScheduleWeekly extends Common |
13 | 13 | { |
14 | - /** |
|
15 | - * Repeat every week next 'Every' days. |
|
16 | - * @var integer |
|
17 | - */ |
|
18 | - public $every; |
|
14 | + /** |
|
15 | + * Repeat every week next 'Every' days. |
|
16 | + * @var integer |
|
17 | + */ |
|
18 | + public $every; |
|
19 | 19 | |
20 | - /** |
|
21 | - * An array of the weekday numbers. |
|
22 | - * @var integer[] |
|
23 | - */ |
|
24 | - public $weekdays = []; |
|
20 | + /** |
|
21 | + * An array of the weekday numbers. |
|
22 | + * @var integer[] |
|
23 | + */ |
|
24 | + public $weekdays = []; |
|
25 | 25 | } |
@@ -11,17 +11,17 @@ |
||
11 | 11 | */ |
12 | 12 | class ScheduleMonthlyNth |
13 | 13 | { |
14 | - /** |
|
15 | - * Which day of the time period, 1: 1st, 2: 2nd, 3: 3rd, 4: 4th, 5: 5th, -1: Last |
|
16 | - * @var integer |
|
17 | - */ |
|
18 | - public $n; |
|
14 | + /** |
|
15 | + * Which day of the time period, 1: 1st, 2: 2nd, 3: 3rd, 4: 4th, 5: 5th, -1: Last |
|
16 | + * @var integer |
|
17 | + */ |
|
18 | + public $n; |
|
19 | 19 | |
20 | - /** |
|
21 | - * What time. Available values:<br> |
|
22 | - * 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday,<br> |
|
23 | - * 6: Saturday, 7: Sunday, 8: Day, 9: Working Day, 10: Weekend |
|
24 | - * @var integer |
|
25 | - */ |
|
26 | - public $what; |
|
20 | + /** |
|
21 | + * What time. Available values:<br> |
|
22 | + * 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday,<br> |
|
23 | + * 6: Saturday, 7: Sunday, 8: Day, 9: Working Day, 10: Weekend |
|
24 | + * @var integer |
|
25 | + */ |
|
26 | + public $what; |
|
27 | 27 | } |
28 | 28 | \ No newline at end of file |
@@ -11,9 +11,9 @@ |
||
11 | 11 | */ |
12 | 12 | class ScheduleDaily extends Common |
13 | 13 | { |
14 | - /** |
|
15 | - * Repeat every next 'Every' days |
|
16 | - * @var integer |
|
17 | - */ |
|
18 | - public $every; |
|
14 | + /** |
|
15 | + * Repeat every next 'Every' days |
|
16 | + * @var integer |
|
17 | + */ |
|
18 | + public $every; |
|
19 | 19 | } |
20 | 20 | \ No newline at end of file |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | * An array of the AddressBookContact type objects. |
15 | 15 | * @var AddressBookLocation[] |
16 | 16 | */ |
17 | - public $results=[]; |
|
17 | + public $results = []; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * Total number of the returned contacts |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * An array of the field names to be shown |
27 | 27 | * @var string[] |
28 | 28 | */ |
29 | - public $fields=[]; |
|
29 | + public $fields = []; |
|
30 | 30 | |
31 | 31 | /** |
32 | 32 | * The contacts query in the JSON format |
@@ -10,27 +10,27 @@ |
||
10 | 10 | */ |
11 | 11 | class SearchResponse extends Common |
12 | 12 | { |
13 | - /** |
|
14 | - * An array of the AddressBookContact type objects. |
|
15 | - * @var AddressBookLocation[] |
|
16 | - */ |
|
17 | - public $results=[]; |
|
13 | + /** |
|
14 | + * An array of the AddressBookContact type objects. |
|
15 | + * @var AddressBookLocation[] |
|
16 | + */ |
|
17 | + public $results=[]; |
|
18 | 18 | |
19 | - /** |
|
20 | - * Total number of the returned contacts |
|
21 | - * @var integer |
|
22 | - */ |
|
23 | - public $total; |
|
19 | + /** |
|
20 | + * Total number of the returned contacts |
|
21 | + * @var integer |
|
22 | + */ |
|
23 | + public $total; |
|
24 | 24 | |
25 | - /** |
|
26 | - * An array of the field names to be shown |
|
27 | - * @var string[] |
|
28 | - */ |
|
29 | - public $fields=[]; |
|
25 | + /** |
|
26 | + * An array of the field names to be shown |
|
27 | + * @var string[] |
|
28 | + */ |
|
29 | + public $fields=[]; |
|
30 | 30 | |
31 | - /** |
|
32 | - * The contacts query in the JSON format |
|
33 | - * @var string |
|
34 | - */ |
|
35 | - public $index_query; |
|
31 | + /** |
|
32 | + * The contacts query in the JSON format |
|
33 | + * @var string |
|
34 | + */ |
|
35 | + public $index_query; |
|
36 | 36 | } |
@@ -7,15 +7,15 @@ |
||
7 | 7 | */ |
8 | 8 | class TelematicsVendorsTypes |
9 | 9 | { |
10 | - const TOMTOM = 'tomtom'; |
|
10 | + const TOMTOM = 'tomtom'; |
|
11 | 11 | |
12 | - const TELETRAC = 'teletrac'; |
|
12 | + const TELETRAC = 'teletrac'; |
|
13 | 13 | |
14 | - const AZUGA = 'azuga'; |
|
14 | + const AZUGA = 'azuga'; |
|
15 | 15 | |
16 | - const GEOTAB = 'geotab'; |
|
16 | + const GEOTAB = 'geotab'; |
|
17 | 17 | |
18 | - const SILENT_PASSENGER = 'silentpassenger'; |
|
18 | + const SILENT_PASSENGER = 'silentpassenger'; |
|
19 | 19 | |
20 | - const NEW_TELETRAC = 'new_teletrac'; |
|
20 | + const NEW_TELETRAC = 'new_teletrac'; |
|
21 | 21 | } |