-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # src/BigBlueButton.php
- Loading branch information
Showing
22 changed files
with
560 additions
and
726 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
"authors": [ | ||
{ | ||
"name": "Ghazi Triki", | ||
"email": "ghazi.[email protected]", | ||
"email": "ghazi.[email protected]", | ||
"role": "Developer" | ||
} | ||
], | ||
|
@@ -30,12 +30,15 @@ | |
}, | ||
"require-dev": { | ||
"ext-mbstring": "*", | ||
"composer/composer": "^1.10.0", | ||
"phpunit/phpunit": "^8", | ||
"fakerphp/faker": "^1.14", | ||
"friendsofphp/php-cs-fixer": "2.*", | ||
"squizlabs/php_codesniffer": "3.*", | ||
"php-coveralls/php-coveralls": "^2.4.0" | ||
"composer/composer": "^1.10.24", | ||
"phpunit/phpunit": "^8.5", | ||
"fakerphp/faker": "^1.17", | ||
"friendsofphp/php-cs-fixer": "^2.19", | ||
"squizlabs/php_codesniffer": "^3.6", | ||
"php-coveralls/php-coveralls": "^2.5.2" | ||
}, | ||
"options": { | ||
"symlink": false | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
|
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
54 changes: 23 additions & 31 deletions
54
src/Responses/SetConfigXMLResponse.php → src/Core/GuestPolicy.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,26 @@ | ||
<?php | ||
/** | ||
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/. | ||
* | ||
* Copyright (c) 2016-2018 BigBlueButton Inc. and by respective authors (see below). | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under the | ||
* terms of the GNU Lesser General Public License as published by the Free Software | ||
* Foundation; either version 3.0 of the License, or (at your option) any later | ||
* version. | ||
* | ||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY | ||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License along | ||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
namespace BigBlueButton\Responses; | ||
<?php | ||
/** | ||
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/. | ||
* | ||
* Copyright (c) 2016-2021 BigBlueButton Inc. and by respective authors (see below). | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under the | ||
* terms of the GNU Lesser General Public License as published by the Free Software | ||
* Foundation; either version 3.0 of the License, or (at your option) any later | ||
* version. | ||
* | ||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY | ||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License along | ||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
namespace BigBlueButton\Core; | ||
|
||
/** | ||
* Class SetConfigXMLResponse | ||
* @package BigBlueButton\Parameters | ||
*/ | ||
class SetConfigXMLResponse extends BaseResponse | ||
class GuestPolicy | ||
{ | ||
/** | ||
* @return bool | ||
*/ | ||
public function getToken() | ||
{ | ||
return $this->rawXml->configToken->__toString(); | ||
} | ||
public const ALWAYS_ACCEPT = 'ALWAYS_ACCEPT'; | ||
public const ALWAYS_DENY = 'ALWAYS_DENY'; | ||
public const ASK_MODERATOR = 'ASK_MODERATOR'; | ||
} |
70 changes: 24 additions & 46 deletions
70
...Responses/GetDefaultConfigXMLResponse.php → src/Core/MeetingLayout.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,27 @@ | ||
<?php | ||
/** | ||
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/. | ||
* | ||
* Copyright (c) 2016-2018 BigBlueButton Inc. and by respective authors (see below). | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under the | ||
* terms of the GNU Lesser General Public License as published by the Free Software | ||
* Foundation; either version 3.0 of the License, or (at your option) any later | ||
* version. | ||
* | ||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY | ||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License along | ||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
namespace BigBlueButton\Responses; | ||
<?php | ||
/** | ||
* BigBlueButton open source conferencing system - https://www.bigbluebutton.org/. | ||
* | ||
* Copyright (c) 2016-2021 BigBlueButton Inc. and by respective authors (see below). | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under the | ||
* terms of the GNU Lesser General Public License as published by the Free Software | ||
* Foundation; either version 3.0 of the License, or (at your option) any later | ||
* version. | ||
* | ||
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY | ||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License along | ||
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
namespace BigBlueButton\Core; | ||
|
||
/** | ||
* Class GetDefaultConfigXMLUrlResponse | ||
* @package BigBlueButton\Responses | ||
*/ | ||
class GetDefaultConfigXMLResponse | ||
class MeetingLayout | ||
{ | ||
/** | ||
* @var \SimpleXMLElement | ||
*/ | ||
protected $rawXml; | ||
|
||
/** | ||
* BaseResponse constructor. | ||
* | ||
* @param \SimpleXMLElement $xml | ||
*/ | ||
public function __construct(\SimpleXMLElement $xml) | ||
{ | ||
$this->rawXml = $xml; | ||
} | ||
|
||
/** | ||
* @return \SimpleXMLElement | ||
*/ | ||
public function getRawXml() | ||
{ | ||
return $this->rawXml; | ||
} | ||
public const CUSTOM_LAYOUT = 'CUSTOM_LAYOUT'; | ||
public const SMART_LAYOUT = 'SMART_LAYOUT'; | ||
public const PRESENTATION_FOCUS = 'PRESENTATION_FOCUS'; | ||
public const VIDEO_FOCUS = 'VIDEO_FOCUS'; | ||
} |
Oops, something went wrong.