Skip to content

Commit 90f5514

Browse files
author
Vasiliy Sinitsyn
committed
* SDK updated to ver. 18.9 of Aspose.Tasks for Cloud.
1) Duration type was added. 2) [Breaking] Changes in ExtendedAttribute type (used in Task.ExtendedAttributes, Resource.ExtendedAttributes, ResourceAssignment.ExtendedAttributes collections): - 'DurationFormat' field was removed - 'Value' field was removed - 'AttributeType' field was added - Following fields were added: 'DateValue', 'DurationValue', 'NumericValue', 'FlagValue', 'TextValue'. For example in order to get or set the value of a custom field with 'Date', 'Start' or 'Finish' type one should use 'DateValue' field. 3) GET /{name}/extendedattributes/{index} and DELETE /{name}/extendedattributes/{index} endpoints: index parameter now can be FieldId as well as index of attribute in project.ExtendedAttributes collection. The complete list of changes can be found at https://docs.aspose.cloud/display/taskscloud/Aspose.Tasks+Cloud+18.9+Release+Notes
1 parent 3d460b4 commit 90f5514

File tree

11 files changed

+918
-192
lines changed

11 files changed

+918
-192
lines changed

composer.json

Lines changed: 37 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,38 @@
11
{
2-
"description" : "This repository contains Aspose Tasks SDK for PHP source code. Aspose Tasks Cloud SDK for PHP lets PHP developers manipulate or convert Microsoft Project documents hosted on a cloud platform quickly and easily.",
3-
"name" : "aspose/tasks-sdk-php",
4-
"type" : "library",
5-
"keywords" : [
6-
"aspose",
7-
"php",
8-
"aspose cloud",
9-
"mpp",
10-
"microsoft project",
11-
"ms project",
12-
"primavera"
13-
],
14-
"homepage" : "https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php",
15-
"authors" : [{
16-
"name" : "aspose-tasks-cloud",
17-
"homepage": "https://github.com/aspose-tasks-cloud"
18-
}
19-
],
20-
"config" : {
21-
"platform" : {
22-
"php" : "5.6.32"
23-
}
24-
},
25-
"require" : {
26-
"php" : ">=5.5",
27-
"ext-curl" : "*",
28-
"ext-json" : "*",
29-
"ext-mbstring" : "*",
30-
"guzzlehttp/guzzle" : "^6.2",
31-
"aspose/storage-sdk-php" : "1.0.*",
32-
"friendsofphp/php-cs-fixer" : "2.10.*"
33-
},
34-
"require-dev" : {
35-
"squizlabs/php_codesniffer" : "3.*",
36-
"phpunit/phpunit" : "^4.8"
37-
},
38-
"autoload" : {
39-
"psr-0" : {
40-
"Aspose" : [
41-
"src",
42-
"src/Aspose",
43-
"src/Aspose/Tasks",
44-
"src/Aspose/Tasks/Model",
45-
"src/Aspose/Tasks/Model/Requests"
46-
],
47-
"BaseTest" : [
48-
"tests",
49-
"tests/Aspose",
50-
"tests/Aspose/Tasks",
51-
"tests/Aspose/Tasks/Assignments",
52-
"tests/Aspose/Tasks/Calendars",
53-
"tests/Aspose/Tasks/DocumentProperties",
54-
"tests/Aspose/Tasks/ExtendedAttributes",
55-
"tests/Aspose/Tasks/OutlineCodes",
56-
"tests/Aspose/Tasks/Project",
57-
"tests/Aspose/Tasks/Recalculation",
58-
"tests/Aspose/Tasks/Reports",
59-
"tests/Aspose/Tasks/Resources",
60-
"tests/Aspose/Tasks/TaskLinks",
61-
"tests/Aspose/Tasks/Tasks",
62-
"tests/Aspose/Tasks/TimephasedData",
63-
"tests/Aspose/Tasks/Vba",
64-
"tests/Aspose/Tasks/Wbs"
65-
]
66-
},
67-
"psr-4" : {
68-
"" : [
69-
"tests/Aspose/Tasks",
70-
"tests/Aspose/Tasks/Assignments",
71-
"tests/Aspose/Tasks/Calendars",
72-
"tests/Aspose/Tasks/DocumentProperties",
73-
"tests/Aspose/Tasks/ExtendedAttributes",
74-
"tests/Aspose/Tasks/OutlineCodes",
75-
"tests/Aspose/Tasks/Project",
76-
"tests/Aspose/Tasks/Recalculation",
77-
"tests/Aspose/Tasks/Reports",
78-
"tests/Aspose/Tasks/Resources",
79-
"tests/Aspose/Tasks/TaskLinks",
80-
"tests/Aspose/Tasks/Tasks",
81-
"tests/Aspose/Tasks/TimephasedData",
82-
"tests/Aspose/Tasks/Vba",
83-
"tests/Aspose/Tasks/Wbs"
84-
]
85-
}
86-
}
87-
}
2+
"description": "This repository contains Aspose Tasks SDK for PHP source code. Aspose Tasks Cloud SDK for PHP lets PHP developers manipulate or convert Microsoft Project documents hosted on a cloud platform quickly and easily.",
3+
"name": "aspose-tasks-cloud/php-sdk",
4+
"type": "library",
5+
"keywords" : ["aspose", "php", "aspose cloud", "mpp", "microsoft project", "ms project", "primavera"],
6+
"homepage": "https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php",
7+
"license": "MIT",
8+
"authors": [
9+
{
10+
"name": "VasiliySinitsyn",
11+
"homepage": "https://github.com/aspose-tasks-cloud"
12+
}
13+
],
14+
"config": {
15+
"platform": {
16+
"php": "5.6.32"
17+
}
18+
},
19+
"require": {
20+
"php": ">=5.5",
21+
"ext-curl": "*",
22+
"ext-json": "*",
23+
"ext-mbstring": "*",
24+
"guzzlehttp/guzzle": "^6.2",
25+
"aspose/storage-sdk-php": "1.0.*",
26+
"friendsofphp/php-cs-fixer": "2.10.*"
27+
},
28+
"require-dev": {
29+
"squizlabs/php_codesniffer": "3.*",
30+
"phpunit/phpunit": "^4.8"
31+
},
32+
"autoload": {
33+
"psr-0": {
34+
"Aspose": "src/",
35+
"BaseTest": "tests/"
36+
}
37+
}
38+
}

src/Aspose/Tasks/Configuration.php

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ class Configuration
9696
*/
9797
protected $host = 'https://localhost/v1.0';
9898

99+
/*
100+
* The version
101+
*
102+
* @var string
103+
*/
104+
protected $version = 'v2.0';
105+
99106
/*
100107
* User agent of the HTTP request, set to "PHP-Swagger" by default
101108
*
@@ -128,7 +135,7 @@ class Configuration
128135
* Version of Aspose.Tasks Cloud API
129136
*
130137
*/
131-
protected $clientVersion = '18.8';
138+
protected $clientVersion = '18.9';
132139

133140
/*
134141
* Constructor
@@ -358,6 +365,16 @@ public function getHost()
358365
return $this->host;
359366
}
360367

368+
/*
369+
* Gets the API version
370+
*
371+
* @return string Version
372+
*/
373+
public function getVersion()
374+
{
375+
return $this->version;
376+
}
377+
361378
/*
362379
* Sets the user agent of the api client
363380
*

0 commit comments

Comments
 (0)