-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SharePoint model updated to 16.0.21221.12006, examples update (taxono…
…my export), release 2.4.5
- Loading branch information
1 parent
5ca4693
commit a7c965d
Showing
24 changed files
with
186 additions
and
49 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
examples/SharePoint/ListDataGenerator.php → ...harePoint/ListItems/ListDataGenerator.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
6 changes: 2 additions & 4 deletions
6
examples/SharePoint/CreateModernSite.php → ...les/SharePoint/Sites/CreateModernSite.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
require_once '../../vendor/autoload.php'; | ||
|
||
use Office365\Runtime\Auth\ClientCredential; | ||
use Office365\SharePoint\ClientContext; | ||
use Office365\SharePoint\Taxonomy\TaxonomyService; | ||
use Office365\SharePoint\Taxonomy\TermGroup; | ||
|
||
$settings = include('../../../Settings.php'); | ||
$appPrincipal = new ClientCredential($settings['ClientId'],$settings['ClientSecret']); | ||
$ctx = (new ClientContext($settings['Url']))->withCredentials($appPrincipal); | ||
$taxSvc = new TaxonomyService($ctx); | ||
$groups = $taxSvc->getTermStore()->getTermGroups()->get()->executeQuery(); | ||
|
||
$fp = fopen('./SiteTaxonomy.csv', 'w'); | ||
|
||
/** @var TermGroup $group */ | ||
foreach ($groups as $group){ | ||
fputcsv($fp, $group->toJson()); | ||
} | ||
|
||
fclose($fp); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
be8ef61a-82f3-4838-a4af-2fdfc714ed79,,Geography,Geography,2020-11-11T17:04:50.907Z,2020-11-11T17:04:50.907Z,RegularGroup,global | ||
d833b9ad-14f9-4851-b927-dab752026818,,People,People,2019-09-03T06:44:24.42Z,2019-09-03T06:44:26.327Z,RegularGroup,global | ||
d87b6a37-c801-4a36-9046-6296d4779c87,,"Search Dictionaries","Search Dictionaries",2020-03-11T12:27:37.767Z,2020-03-11T12:27:37.767Z,RegularGroup,global | ||
a807d2c3-e824-4115-8ba1-d4902a9b8635,"These term sets are used by the system itself.",System,System,2019-09-03T05:55:38.12Z,2019-09-03T05:55:38.12Z,SystemGroup,system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
/** | ||
* This file was generated by phpSPO model generator 2021-05-05T14:47:20+00:00 16.0.21221.12006 | ||
*/ | ||
namespace Office365\SharePoint\Publishing; | ||
|
||
|
||
use Office365\SharePoint\BaseEntity; | ||
|
||
class FeedVideoPage extends BaseEntity | ||
{ | ||
/** | ||
* @return integer | ||
*/ | ||
public function getVideoDuration() | ||
{ | ||
if (!$this->isPropertyAvailable("VideoDuration")) { | ||
return null; | ||
} | ||
return $this->getProperty("VideoDuration"); | ||
} | ||
|
||
/** | ||
* @param $value | ||
* @return $this | ||
*/ | ||
public function setVideoDuration($value) | ||
{ | ||
$this->setProperty("VideoDuration", $value, true); | ||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
/** | ||
* This file was generated by phpSPO model generator 2021-05-05T14:47:20+00:00 16.0.21221.12006 | ||
*/ | ||
namespace Office365\SharePoint\Publishing; | ||
|
||
use Office365\Runtime\ClientValue; | ||
class FeedVideoPageFieldsData extends ClientValue | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
|
||
/** | ||
* This file was generated by phpSPO model generator 2021-05-05T14:47:20+00:00 16.0.21221.12006 | ||
*/ | ||
namespace Office365\SharePoint; | ||
|
||
use Office365\Runtime\ClientValue; | ||
class VivaConnectionsUrlConfiguration extends ClientValue | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $ContentUrl; | ||
/** | ||
* @var string | ||
*/ | ||
public $DashboardNotConfiguredWarning; | ||
/** | ||
* @var string | ||
*/ | ||
public $GlobalNavNotConfiguredWarning; | ||
/** | ||
* @var string | ||
*/ | ||
public $NotHomeSiteUrlWarning; | ||
/** | ||
* @var string | ||
*/ | ||
public $SearchUrl; | ||
} |
Oops, something went wrong.