From f636c2f59359ed300b7b393cc5d6c95c5e4edf14 Mon Sep 17 00:00:00 2001 From: jmalmsten-panopto Date: Wed, 7 Sep 2022 09:43:36 -0700 Subject: [PATCH] 2022090700 release code. (#191) --- LICENSE.txt | 2 + SSO.php | 41 ++- block_panopto.php | 21 +- build_category_structure.php | 9 +- classes/admin/trim_configtext.php | 8 +- classes/categorytasks.php | 7 +- .../panopto_build_category_structure_form.php | 9 +- classes/panopto_provision_form.php | 7 +- classes/panopto_rename_all_folders_form.php | 6 +- classes/panopto_unprovision_course_form.php | 1 + classes/panopto_unprovision_form.php | 6 +- classes/panopto_upgrade_all_folders_form.php | 6 +- classes/privacy/provider.php | 121 ++++--- classes/rollingsync.php | 34 +- classes/task/ensure_category.php | 19 +- classes/task/provision_course.php | 9 +- classes/task/sync_user.php | 17 +- classes/task/sync_user_login.php | 13 +- db/access.php | 2 +- db/events.php | 2 +- db/upgrade.php | 55 ++-- edit_form.php | 9 +- lang/en/block_panopto.php | 1 + .../AuthManagementWsdlClass.php | 3 +- ...AuthManagementStructAuthenticationInfo.php | 4 +- ...ementStructGetAuthenticatedUrlResponse.php | 4 +- ...nagementStructGetServerVersionResponse.php | 4 +- ...uthManagementStructGetAuthenticatedUrl.php | 4 +- .../AuthManagementStructLogOnWithPassword.php | 4 +- ...agementStructLogOnWithExternalProvider.php | 4 +- ...tructLogOnWithExternalProviderResponse.php | 4 +- ...agementStructLogOnWithPasswordResponse.php | 4 +- ...hManagementStructReportIntegrationInfo.php | 4 +- .../SessionManagementStructAddFolder.php | 4 +- ...ssionManagementStructAddFolderResponse.php | 4 +- ...sionManagementStructAddSessionResponse.php | 4 +- .../SessionManagementStructAddSession.php | 4 +- ...ionManagementStructAreUsersNotesPublic.php | 4 +- ...ementStructAreUsersNotesPublicResponse.php | 4 +- ...StructArrayOfFolderWithExternalContext.php | 4 +- .../SessionManagementStructArrayOfFolder.php | 4 +- .../SessionManagementStructArrayOfNote.php | 4 +- ...mentStructArrayOfExternalHierarchyInfo.php | 4 +- .../SessionManagementStructArrayOfguid.php | 4 +- .../SessionManagementStructArrayOfstring.php | 4 +- ...ssionManagementStructArrayOfAccessRole.php | 4 +- .../SessionManagementStructArrayOfSession.php | 4 +- ...tructArrayOfFolderAvailabilitySettings.php | 4 +- ...ructArrayOfSessionAvailabilitySettings.php | 4 +- ...ionManagementStructArrayOfSessionState.php | 4 +- ...sionManagementStructAuthenticationInfo.php | 4 +- ...StructCreateNoteByAbsoluteTimeResponse.php | 4 +- ...StructCreateNoteByRelativeTimeResponse.php | 4 +- ...ementStructCreateCaptionByAbsoluteTime.php | 4 +- ...ementStructCreateCaptionByRelativeTime.php | 4 +- ...nagementStructCreateNoteByAbsoluteTime.php | 4 +- ...nagementStructCreateNoteByRelativeTime.php | 4 +- .../SessionManagementStructDateTimeOffset.php | 4 +- .../SessionManagementStructDeleteFolders.php | 4 +- .../SessionManagementStructDeleteNote.php | 4 +- .../SessionManagementStructDeleteSessions.php | 4 +- .../Note/SessionManagementStructEditNote.php | 4 +- ...entStructEnsureExternalHierarchyBranch.php | 4 +- ...tEnsureExternalHierarchyBranchResponse.php | 4 +- ...nManagementStructExternalHierarchyInfo.php | 6 +- .../SessionManagementStructFolderBase.php | 4 +- ...agementStructFolderWithExternalContext.php | 4 +- .../Folder/SessionManagementStructFolder.php | 4 +- ...gementStructFolderAvailabilitySettings.php | 4 +- ...tStructFoldersWithAvailabilitySettings.php | 4 +- ...agementStructGetAllFoldersByExternalId.php | 4 +- ...FoldersWithExternalContextByExternalId.php | 4 +- ...ManagementStructGetFoldersByExternalId.php | 4 +- .../SessionManagementStructGetFoldersById.php | 4 +- ...FoldersWithExternalContextByExternalId.php | 4 +- ...tructGetFoldersWithExternalContextById.php | 4 +- ...anagementStructGetSessionsByExternalId.php | 4 +- ...SessionManagementStructGetSessionsById.php | 4 +- ...nManagementStructGetCreatorFoldersList.php | 4 +- ...tCreatorFoldersWithExternalContextList.php | 4 +- .../SessionManagementStructGetFoldersList.php | 4 +- ...tructGetFoldersWithExternalContextList.php | 4 +- ...SessionManagementStructGetSessionsList.php | 4 +- .../Note/SessionManagementStructGetNote.php | 4 +- ...tructGetAllFoldersByExternalIdResponse.php | 4 +- ...ithExternalContextByExternalIdResponse.php | 4 +- ...entStructGetCreatorFoldersListResponse.php | 4 +- ...FoldersWithExternalContextListResponse.php | 4 +- ...GetFoldersAvailabilitySettingsResponse.php | 4 +- ...ntStructGetFoldersByExternalIdResponse.php | 4 +- ...ManagementStructGetFoldersByIdResponse.php | 4 +- ...ManagementStructGetFoldersListResponse.php | 4 +- ...ithExternalContextByExternalIdResponse.php | 4 +- ...FoldersWithExternalContextByIdResponse.php | 4 +- ...FoldersWithExternalContextListResponse.php | 4 +- ...SessionManagementStructGetNoteResponse.php | 4 +- ...StructGetPersonalFolderForUserResponse.php | 4 +- ...tStructGetRecorderDownloadUrlsResponse.php | 4 +- ...etSessionsAvailabilitySettingsResponse.php | 4 +- ...tStructGetSessionsByExternalIdResponse.php | 4 +- ...anagementStructGetSessionsByIdResponse.php | 4 +- ...anagementStructGetSessionsListResponse.php | 4 +- ...ntStructGetFoldersAvailabilitySettings.php | 4 +- ...tStructGetSessionsAvailabilitySettings.php | 4 +- ...nagementStructGetPersonalFolderForUser.php | 4 +- .../SessionManagementStructIsDropbox.php | 4 +- ...ssionManagementStructIsDropboxResponse.php | 4 +- ...ListFoldersResponseWithExternalContext.php | 4 +- .../SessionManagementStructListNotes.php | 4 +- ...sionManagementStructListFoldersRequest.php | 4 +- ...ionManagementStructListSessionsRequest.php | 4 +- ...ionManagementStructListFoldersResponse.php | 4 +- ...ssionManagementStructListNotesResponse.php | 4 +- ...onManagementStructListSessionsResponse.php | 4 +- .../SessionManagementStructMoveSessions.php | 4 +- .../Note/SessionManagementStructNote.php | 4 +- .../SessionManagementStructPagination.php | 4 +- ...anagementStructProvisionExternalCourse.php | 4 +- ...tStructProvisionExternalCourseResponse.php | 4 +- ...ovisionExternalCourseWithRolesResponse.php | 4 +- ...StructProvisionExternalCourseWithRoles.php | 4 +- ...ementStructRecorderDownloadUrlResponse.php | 4 +- .../SessionManagementStructSession.php | 4 +- ...ementStructSessionAvailabilitySettings.php | 4 +- .../SessionManagementWsdlClass.php | 3 +- ...StructSessionsWithAvailabilitySettings.php | 4 +- ...entStructSetCopiedExternalCourseAccess.php | 4 +- ...anagementStructSetExternalCourseAccess.php | 4 +- .../SessionManagementStructSetNotesPublic.php | 4 +- ...edExternalCourseAccessForRolesResponse.php | 4 +- ...tSetCopiedExternalCourseAccessResponse.php | 4 +- ...etExternalCourseAccessForRolesResponse.php | 4 +- ...tStructSetExternalCourseAccessResponse.php | 4 +- ...tSetCopiedExternalCourseAccessForRoles.php | 4 +- ...tStructSetExternalCourseAccessForRoles.php | 4 +- ...agementStructUnprovisionExternalCourse.php | 4 +- ...nagementStructUpdateSessionIsBroadcast.php | 4 +- ...anagementStructUpdateFolderDescription.php | 4 +- ...nagementStructUpdateSessionDescription.php | 4 +- ...StructUpdateFolderAllowSessionDownload.php | 4 +- ...ManagementStructUpdateFolderExternalId.php | 4 +- ...anagementStructUpdateSessionExternalId.php | 4 +- ...essionManagementStructUpdateFolderName.php | 4 +- ...ssionManagementStructUpdateSessionName.php | 4 +- ...mentStructUpdateFolderAllowPublicNotes.php | 4 +- ...sionManagementStructUpdateSessionOwner.php | 4 +- ...sionManagementStructUpdateFolderParent.php | 4 +- ...agementStructUpdateFolderEnablePodcast.php | 4 +- ...ructUpdateFolderExternalIdWithProvider.php | 4 +- ...FoldersAvailabilityEndSettingsResponse.php | 4 +- ...ldersAvailabilityStartSettingsResponse.php | 4 +- ...essionsAvailabilityEndSettingsResponse.php | 4 +- ...sionsAvailabilityStartSettingsResponse.php | 4 +- ...ctUpdateFoldersAvailabilityEndSettings.php | 4 +- ...UpdateFoldersAvailabilityStartSettings.php | 4 +- ...tUpdateSessionsAvailabilityEndSettings.php | 4 +- ...pdateSessionsAvailabilityStartSettings.php | 4 +- ...essionManagementStructUploadTranscript.php | 4 +- ...agementStructAddMembersToExternalGroup.php | 4 +- ...agementStructAddMembersToInternalGroup.php | 4 +- .../UserManagementStructArrayOfGroup.php | 4 +- .../UserManagementStructArrayOfguid.php | 4 +- .../UserManagementStructArrayOfstring.php | 4 +- .../User/UserManagementStructArrayOfUser.php | 4 +- ...UserManagementStructAuthenticationInfo.php | 4 +- ...serManagementStructCreateExternalGroup.php | 4 +- ...serManagementStructCreateInternalGroup.php | 4 +- ...ementStructCreateExternalGroupResponse.php | 4 +- ...ementStructCreateInternalGroupResponse.php | 4 +- ...UserManagementStructCreateUserResponse.php | 4 +- ...serManagementStructCreateUsersResponse.php | 4 +- .../User/UserManagementStructCreateUser.php | 4 +- .../Users/UserManagementStructCreateUsers.php | 4 +- .../Group/UserManagementStructDeleteGroup.php | 4 +- .../Users/UserManagementStructDeleteUsers.php | 4 +- .../Group/UserManagementStructGetGroup.php | 4 +- .../UserManagementStructGetUsersInGroup.php | 4 +- .../Key/UserManagementStructGetUserByKey.php | 4 +- .../UserManagementStructGetGroupsByName.php | 4 +- .../UserManagementStructGetGroupIsPublic.php | 4 +- ...nagementStructGetGroupIsPublicResponse.php | 4 +- .../UserManagementStructGetGroupResponse.php | 4 +- ...anagementStructGetGroupsByNameResponse.php | 4 +- ...erManagementStructGetUserByKeyResponse.php | 4 +- ...anagementStructGetUsersInGroupResponse.php | 4 +- .../UserManagementStructGetUsersResponse.php | 4 +- .../Users/UserManagementStructGetUsers.php | 4 +- .../Group/UserManagementStructGroup.php | 4 +- .../Groups/UserManagementStructListGroups.php | 4 +- .../UserManagementStructListUsersRequest.php | 4 +- ...UserManagementStructListGroupsResponse.php | 4 +- .../UserManagementStructListUsersResponse.php | 4 +- .../Users/UserManagementStructListUsers.php | 4 +- .../UserManagementStructPagination.php | 4 +- ...ntStructRemoveMembersFromExternalGroup.php | 4 +- ...ntStructRemoveMembersFromInternalGroup.php | 4 +- .../UserManagementStructResetPassword.php | 4 +- .../UserManagementStructSetGroupIsPublic.php | 4 +- .../UserManagementStructSetSystemRole.php | 4 +- .../UserManagementStructSyncExternalUser.php | 4 +- .../UserManagementStructUnlockAccount.php | 4 +- .../Bio/UserManagementStructUpdateUserBio.php | 4 +- .../UserManagementStructUpdateContactInfo.php | 4 +- .../UserManagementStructUpdatePassword.php | 4 +- .../User/UserManagementStructUser.php | 4 +- .../UserManagementWsdlClass.php | 3 +- lib/block_panopto_bulk_lib.php | 152 +++++---- lib/block_panopto_lib.php | 75 +++-- lib/cli/build_category_structure_cli.php | 18 +- lib/cli/remove_all_panopto_adhoc_tasks.php | 7 +- lib/cli/rename_all_folders_cli.php | 5 +- lib/cli/upgrade_all_folders_cli.php | 5 +- lib/panopto_auth_soap_client.php | 29 +- lib/panopto_category_data.php | 117 ++++--- lib/panopto_data.php | 298 ++++++++++++------ lib/panopto_session_soap_client.php | 179 ++++++++--- lib/panopto_timeout_soap_client.php | 121 ++++--- lib/panopto_user_soap_client.php | 26 +- lib/panoptoblock_lti_utility.php | 20 +- panopto_content.php | 61 ++-- provision_course.php | 8 +- provision_course_internal.php | 10 +- reinitialize_imports.php | 48 ++- settings.php | 14 +- styles.css | 55 ++-- unprovision_course.php | 3 +- unprovision_course_internal.php | 2 +- upgrade_all_folders.php | 4 +- version.php | 4 +- views/bulk_rename_single_failed.html.php | 3 +- views/bulk_rename_single_success.html.php | 3 +- views/bulk_task_access_error.html.php | 3 +- views/bulk_task_progress_bar.html.php | 3 +- views/bulk_task_rename_warning.html.php | 5 +- views/bulk_task_reprovision_warning.html.php | 5 +- views/bulk_task_version_error.html.php | 3 +- views/ensure_category_branch_failed.html.php | 15 +- views/ensure_category_branch_start.html.php | 7 +- views/ensure_category_branch_success.html.php | 3 +- views/imported_course.html.php | 13 +- views/provisioned_course.html.php | 52 ++- views/unprovisioned_course.html.php | 11 +- 242 files changed, 1466 insertions(+), 1057 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 94a9ed0..322df55 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -672,3 +672,5 @@ may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . + +END OF TERMS AND CONDITIONS diff --git a/SSO.php b/SSO.php index e122e2c..8d98fe9 100644 --- a/SSO.php +++ b/SSO.php @@ -24,11 +24,7 @@ // This can't be defined Moodle internal because it is called from Panopto to authorize login. -global $CFG, $USER; - -if (empty($CFG)) { - require_once(dirname(__FILE__) . '/../../config.php'); -} +require_once(dirname(__FILE__) . '/../../config.php'); require_once($CFG->libdir . '/weblib.php'); require_once(dirname(__FILE__) . '/lib/block_panopto_lib.php'); @@ -37,7 +33,7 @@ $configuredserverarray = panopto_get_configured_panopto_servers(); $callbackverified = false; -foreach($configuredserverarray as $possibleserver) { +foreach ($configuredserverarray as $possibleserver) { if (strcasecmp($possibleserver, $servername) == 0) { $callbackhost = parse_url($callbackurl, PHP_URL_HOST); @@ -49,7 +45,7 @@ } if ($callbackverified) { - if (strpos($callbackurl, 'http%') !== false + if (strpos($callbackurl, 'http%') !== false || strpos($callbackurl, 'https%') !== false) { $callbackurl = urldecode($callbackurl); } @@ -74,7 +70,7 @@ return; } - // No course ID (0). Don't autologin guests (false). + // No course ID (0). Don't autologin guests (false). require_login(0, false); // Reproduce canonically-ordered incoming auth payload. @@ -105,18 +101,39 @@ \core\task\manager::queue_adhoc_task($ssosynctask); break; } + + // Strip ReturnUrl so we can append it on the end + parse_str(parse_url($callbackurl, PHP_URL_QUERY), $params); + $returnurl = isset($params['ReturnUrl']) ? $params['ReturnUrl'] : ""; + + // Handle fragment with hash. + $fragment = "#"; + if (strpos($callbackurl, "#") !== false) { + $fragment .= strtok(explode("#", $callbackurl)[1], '&'); + } else { + $fragment = ""; + } + + // Strip ReturnUrl from original URL and clean if necessary. + // This is constant LoginPageRedirectParamKey = "ReturnUrl" so it should always arrive in this format. + $url = preg_replace('/&?ReturnUrl=[^&]*/', '', $callbackurl); + $url = str_replace('?&', '?', $url); + $url = rtrim($url, '?'); + // Generate canonically-ordered auth payload string. $responseparams = 'serverName=' . $servername . '&externalUserKey=' . $userkey . '&expiration=' . $expiration; // Sign payload with shared key and hash. $responseauthcode = panopto_generate_auth_code($responseparams); - // Encode user key in case the backslash causes a sequence to be interpreted as an escape sequence + // Encode user key in case the backslash causes a sequence to be interpreted as an escape sequence. // (e.g. in the case of usernames that begin with digits). // Maintain the original canonical string to avoid signature mismatch. - $responseparamsencoded = 'serverName=' . $servername . '&externalUserKey=' . urlencode($userkey) . '&expiration=' . $expiration; + $responseparamsencoded = + 'serverName=' . $servername . '&externalUserKey=' . urlencode($userkey) . '&expiration=' . $expiration; - $separator = (strpos($callbackurl, '?') ? '&' : '?'); - $redirecturl = $callbackurl . $separator . $responseparamsencoded . '&authCode=' . $responseauthcode; + $fullreturnurl = !empty($returnurl) ? '&ReturnUrl=' . $returnurl . $fragment : ""; + $separator = (strpos($url, '?') ? '&' : '?'); + $redirecturl = $url . $separator . $responseparamsencoded . '&authCode=' . $responseauthcode . $fullreturnurl; // Redirect to Panopto Focus login page. redirect($redirecturl); diff --git a/block_panopto.php b/block_panopto.php index 6b7419c..3b194ae 100644 --- a/block_panopto.php +++ b/block_panopto.php @@ -99,22 +99,21 @@ public function instance_config_save($data, $nolongerused = false) { $publisherroles, $creatorroles ); - + if (!empty($data->course)) { // Only perform this chunk if we are remapping to a new folder. $panoptodata = new \panopto_data($this->page->course->id); - + if (strcasecmp($panoptodata->sessiongroupid, $data->course) != 0) { $oldsessionid = null; if (!empty($panoptodata->sessiongroupid)) { $oldsessionid = $panoptodata->sessiongroupid; $panoptodata->unprovision_course(); } - - - // Manually overwrite the sessiongroupid on this Panopto_Data instance so we can test provision the attempted new mapping. If the provision fails do not allow it. - // Provision could fail if the user attempts to provision a personal folder. + // Manually overwrite the sessiongroupid on this Panopto_Data instance, + // so we can test provision the attempted new mapping. + // If the provision fails do not allow it. Provision could fail if the user attempts to provision a personal folder. $panoptodata->sessiongroupid = $data->course; $provisioninginfo = $panoptodata->get_provisioning_info(); @@ -142,7 +141,7 @@ public function cron() { * Generate HTML for block contents. */ public function get_content() { - global $COURSE, $PAGE; + global $COURSE; if ($this->content !== null) { return $this->content; @@ -157,7 +156,7 @@ public function get_content() { $params = array('id' => self::CONTENTID, 'courseid' => $COURSE->id); - $PAGE->requires->yui_module('moodle-block_panopto-asyncload', + $this->page->requires->yui_module('moodle-block_panopto-asyncload', 'M.block_panopto.asyncload.init', array($params), null, @@ -193,7 +192,7 @@ public function get_content() { 'var showAllToggle = document.getElementById("showAllToggle");' . 'var hiddenLecturesDiv = document.getElementById("hiddenLecturesDiv");' . - 'if(hiddenLecturesDiv.style.display == "block") {' . + 'if (hiddenLecturesDiv.style.display == "block") {' . 'hiddenLecturesDiv.style.display = "none";' . 'showAllToggle.innerHTML = "' . get_string('show_all', 'block_panopto') . '";' . '} else {' . @@ -211,13 +210,13 @@ public function get_content() { * @return array */ public function applicable_formats() { - // Since block is dealing with courses and enrolments the only possible. + // Since block is dealing with courses and enrollment's the only possible. // place where Panopto block can be used is the course. return array('course-view' => true); } /** - * allow more than one instance of the block on a page + * Allow more than one instance of the block on a page * * @return boolean */ diff --git a/build_category_structure.php b/build_category_structure.php index f689379..095dc8f 100644 --- a/build_category_structure.php +++ b/build_category_structure.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * the code used to build the Moodle category structure on Panopto + * The code used to build the Moodle category structure on Panopto * * @package block_panopto * @copyright Panopto 2009 - 2017 @@ -67,7 +67,10 @@ require_login(); /** - * The category structure process workhorse funciton + * The category structure process workhorse function + * + * @param string $selectedserver server name + * @param string $selectedkey selected key */ function build_category_structure($selectedserver, $selectedkey) { global $DB; @@ -124,7 +127,7 @@ function build_category_structure($selectedserver, $selectedkey) { echo "" . get_string('back_to_config', 'block_panopto') . ''; } else { - $mform->display(); + $mform->display(); } echo $OUTPUT->footer(); diff --git a/classes/admin/trim_configtext.php b/classes/admin/trim_configtext.php index 9bc5217..65ff00a 100644 --- a/classes/admin/trim_configtext.php +++ b/classes/admin/trim_configtext.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * a new admin setting that trims any input. + * A new admin setting that trims any input. * * @package block_panopto * @copyright Panopto 2009 - 2016 /With contributions from Spenser Jones (sjones@ambrose.edu), @@ -23,8 +23,6 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -defined('MOODLE_INTERNAL') || die(); - /** * Text input that trims any extra whitespace. * @copyright Panopto 2016 @@ -49,7 +47,7 @@ public function __construct($name, $visiblename, $description, $defaultsetting, } /** - * write data to storage + * Write data to storage * * @param string $data the data being written. */ @@ -59,7 +57,7 @@ public function write_setting($data) { $data = 0; } - // ...$data is a string. + // The ...$data is a string. $trimmeddata = trim($data); $validated = $this->validate($trimmeddata); if ($validated !== true) { diff --git a/classes/categorytasks.php b/classes/categorytasks.php index b72343a..50af54d 100644 --- a/classes/categorytasks.php +++ b/classes/categorytasks.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * adds category tasks to the Panopto plugin + * Adds category tasks to the Panopto plugin * * @package block_panopto * @copyright Panopto 2009 - 2018 @@ -38,13 +38,14 @@ * When a category is moved or updated: course_category_updated is called */ class block_panopto_categorytasks { + /** * Called when a category has been created * - * @param \core\event\course_category_updated $event + * @param \core\event\course_category_created $event */ public static function coursecategorycreated(\core\event\course_category_created $event) { - + if (!\panopto_data::is_main_block_configured() || !\panopto_data::has_minimum_version()) { return; diff --git a/classes/panopto_build_category_structure_form.php b/classes/panopto_build_category_structure_form.php index 831427b..f860113 100644 --- a/classes/panopto_build_category_structure_form.php +++ b/classes/panopto_build_category_structure_form.php @@ -13,15 +13,18 @@ // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . + +defined('MOODLE_INTERNAL') || die(); + +require_once($CFG->libdir . '/formslib.php'); + /** - * the form wrapper used to build the Moodle category structure on Panopto + * The form wrapper used to build the Moodle category structure on Panopto * * @package block_panopto * @copyright Panopto 2020 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -require_once($CFG->libdir . '/formslib.php'); - class panopto_build_category_structure_form extends moodleform { /** diff --git a/classes/panopto_provision_form.php b/classes/panopto_provision_form.php index ca4ac4b..10c84b2 100644 --- a/classes/panopto_provision_form.php +++ b/classes/panopto_provision_form.php @@ -13,6 +13,11 @@ // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . + +defined('MOODLE_INTERNAL') || die(); + +require_once($CFG->libdir . '/formslib.php'); + /** * Create form for server selection for bulk course provisioning * @@ -20,8 +25,6 @@ * @copyright Panopto 2020 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -require_once($CFG->libdir . '/formslib.php'); - class panopto_provision_form extends moodleform { /** diff --git a/classes/panopto_rename_all_folders_form.php b/classes/panopto_rename_all_folders_form.php index 994b9a5..2218fcb 100644 --- a/classes/panopto_rename_all_folders_form.php +++ b/classes/panopto_rename_all_folders_form.php @@ -14,6 +14,10 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +defined('MOODLE_INTERNAL') || die(); + +require_once($CFG->libdir . '/formslib.php'); + /** * Form to update all currently mapped Panopto folder names to match their mapped course name * @@ -21,8 +25,6 @@ * @copyright Panopto 2020 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -require_once($CFG->libdir . '/formslib.php'); - class panopto_rename_all_folders_form extends moodleform { /** diff --git a/classes/panopto_unprovision_course_form.php b/classes/panopto_unprovision_course_form.php index 3662372..f6c3453 100644 --- a/classes/panopto_unprovision_course_form.php +++ b/classes/panopto_unprovision_course_form.php @@ -13,6 +13,7 @@ // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . + /** * Create form for server selection. * diff --git a/classes/panopto_unprovision_form.php b/classes/panopto_unprovision_form.php index 7848c9e..6475c5a 100644 --- a/classes/panopto_unprovision_form.php +++ b/classes/panopto_unprovision_form.php @@ -13,9 +13,11 @@ // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . + /** * Create form for course unprovision. * + * @package block_panopto * @copyright Panopto 2020 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ @@ -39,8 +41,8 @@ public function definition() { global $DB; $mform = & $this->_form; - - // Get all categories with no children (all leaf nodes) + + // Get all categories with no children (all leaf nodes). $coursesraw = $DB->get_records_sql( 'SELECT id, shortname, fullname FROM {course} WHERE id IN (SELECT moodleid FROM {block_panopto_foldermap})' ); diff --git a/classes/panopto_upgrade_all_folders_form.php b/classes/panopto_upgrade_all_folders_form.php index b8458e1..3f920ec 100644 --- a/classes/panopto_upgrade_all_folders_form.php +++ b/classes/panopto_upgrade_all_folders_form.php @@ -14,6 +14,10 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +defined('MOODLE_INTERNAL') || die(); + +require_once($CFG->libdir . '/formslib.php'); + /** * Form for the Generation 1 to Generation 2 Panopto upgrade * @@ -21,8 +25,6 @@ * @copyright Panopto 2020 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -require_once($CFG->libdir . '/formslib.php'); - class panopto_upgrade_all_folders_form extends moodleform { /** diff --git a/classes/privacy/provider.php b/classes/privacy/provider.php index 0ab7533..4c1c20a 100644 --- a/classes/privacy/provider.php +++ b/classes/privacy/provider.php @@ -1,30 +1,67 @@ . + +/** + * Provider for storing users data. + * + * @package block_panopto + * @copyright Panopto 2009 - 2018 + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ namespace block_panopto\privacy; +defined('MOODLE_INTERNAL') || die(); + require_once(dirname(__FILE__) . '/../../lib/panopto_data.php'); use \core_privacy\local\metadata\collection; - + if (interface_exists('\core_privacy\local\request\userlist')) { - interface my_userlist extends \core_privacy\local\request\userlist{} + interface my_userlist extends \core_privacy\local\request\userlist { + } } else { - interface my_userlist {}; -} + interface my_userlist { + }; +} if (interface_exists('\core_privacy\local\request\core_userlist_provider')) { - interface my_userlist_provider extends \core_privacy\local\request\core_userlist_provider{} + interface my_userlist_provider extends \core_privacy\local\request\core_userlist_provider { + } } else { - interface my_userlist_provider {}; + interface my_userlist_provider { + }; } if (interface_exists('\core_privacy\local\request\core_user_data_provider')) { - interface my_userdataprovider extends \core_privacy\local\request\core_user_data_provider{} + interface my_userdataprovider extends \core_privacy\local\request\core_user_data_provider { + } } else { - interface my_userdataprovider {}; + interface my_userdataprovider { + }; } -class provider implements +/** + * Provider that stores user data. + * + * @package block_panopto + * @copyright Panopto 2020 + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements // This plugin does store personal user data. \core_privacy\local\metadata\provider, \core_privacy\local\request\data_provider, @@ -32,7 +69,12 @@ class provider implements my_userdataprovider, my_userlist_provider, my_userlist { - + + /** + * Get metadata + * + * @param collection $collection + */ public static function get_metadata(collection $collection) : collection { $collection->add_external_location_link('block_panopto', [ 'firstname' => 'privacy:metadata:block_panopto:firstname', @@ -46,15 +88,15 @@ public static function get_metadata(collection $collection) : collection { /** * Get the list of contexts that contain user information for the specified user. * - * @param int $userid The user to search. - * @return contextlist $contextlist The list of contexts used in this plugin. + * @param int $userid the user to search. + * @return contextlist $contextlist the list of contexts used in this plugin. */ public static function get_contexts_for_userid(int $userid) : \core_privacy\local\request\contextlist { $contextlist = new \core_privacy\local\request\contextlist(); - + $currentcourses = \enrol_get_users_courses($userid, true); - foreach($currentcourses as $currentcourse) { + foreach ($currentcourses as $currentcourse) { $currentpanopto = new \panopto_data($currentcourse->id); if ($currentpanopto->has_valid_panopto()) { $contextlist->add_from_sql( @@ -65,18 +107,18 @@ public static function get_contexts_for_userid(int $userid) : \core_privacy\loca return $contextlist; } - + /** * Get the list of users who have data within a context. * - * @param userlist $userlist The userlist containing the list of users who have data in this context/plugin combination. + * @param userlist $userlist the userlist containing the list of users who have data in this context/plugin combination. */ public static function get_users_in_context(\core_privacy\local\request\userlist $userlist) { $context = $userlist->get_context(); if ($context->contextlevel != CONTEXT_COURSE) { return; - } + } $enrolledusers = \get_enrolled_users($context); $enrolleduserids = array(); @@ -90,7 +132,7 @@ public static function get_users_in_context(\core_privacy\local\request\userlist /** * Export all user data for the specified user, in the specified contexts, using the supplied exporter instance. * - * @param approved_contextlist $contextlist The approved contexts to export information for. + * @param approved_contextlist $contextlist the approved contexts to export information for. */ public static function export_user_data(\core_privacy\local\request\approved_contextlist $contextlist) { $userinfo = $contextlist->get_user(); @@ -98,16 +140,15 @@ public static function export_user_data(\core_privacy\local\request\approved_con $allpanoptos = \panopto_get_valid_panopto_servers(); $panoptouser = null; - foreach ($allpanoptos as $currentpanoptoinfo) { $currentpanopto = new \panopto_data(null); $currentpanopto->servername = $currentpanoptoinfo->name; $currentpanopto->applicationkey = $currentpanoptoinfo->appkey; - // search for user in panopto, if they exist then export the below data, if they do not exist then skip. + // Search for user in panopto, if they exist then export the below data, if they do not exist then skip. $panoptouser = $currentpanopto->get_user_by_key($instancename . '\\' . $userinfo->username); - if ($panoptouser != null && + if ($panoptouser != null && !\panopto_is_guid_empty($panoptouser->UserId) && \panopto_user_info_valid($panoptouser->FirstName) && \panopto_user_info_valid($panoptouser->LastName) && @@ -120,15 +161,15 @@ public static function export_user_data(\core_privacy\local\request\approved_con 'firstname' => $panoptouser->FirstName, 'lastname' => $panoptouser->LastName, 'email' => $panoptouser->Email - ]); + ]); } } } - + /** * Delete multiple users within a single context. * - * @param approved_userlist $userlist The approved context and user information to delete information for. + * @param approved_userlist $userlist the approved context and user information to delete information for. */ public static function delete_data_for_users(\core_privacy\local\request\approved_userlist $userlist) { $panoptoservers = \panopto_get_valid_panopto_servers(); @@ -136,20 +177,20 @@ public static function delete_data_for_users(\core_privacy\local\request\approve $instancename = \get_config('block_panopto', 'instance_name'); // Iterate through each Panopto server and delete the users from each one. - foreach($panoptoservers as $panoptoserver) { + foreach ($panoptoservers as $panoptoserver) { $currentpanopto = new \panopto_data(null); $currentpanopto->servername = $panoptoserver->name; $currentpanopto->applicationkey = $panoptoserver->appkey; $userids = array(); - foreach($targetusers as $targetuser) { - // search for user in panopto, if they exist then export the below data, if they do not exist then skip. + foreach ($targetusers as $targetuser) { + // Search for user in panopto, if they exist then export the below data, if they do not exist then skip. $panoptouser = $currentpanopto->get_user_by_key($instancename . '\\' . $targetuser->username); if ($panoptouser != null && !\panopto_is_guid_empty($panoptouser->UserId)) { - // Overwrite all of the existing user's current info with '--Deleted--' + // Overwrite all of the existing user's current info with '--Deleted--'. $currentpanopto->update_contact_info( - $panoptouser->UserId, + $panoptouser->UserId, "--Deleted--", "--Deleted--", "--Deleted--", @@ -160,11 +201,10 @@ public static function delete_data_for_users(\core_privacy\local\request\approve } } - /** * Delete a single user in approved contexts * - * @param approved_contextlist $contextlist The approved context and user information to delete information for. + * @param approved_contextlist $contextlist the approved context and user information to delete information for. */ public static function delete_data_for_user(\core_privacy\local\request\approved_contextlist $contextlist) { if (empty($contextlist->count())) { @@ -176,18 +216,18 @@ public static function delete_data_for_user(\core_privacy\local\request\approved $instancename = \get_config('block_panopto', 'instance_name'); // Iterate through each Panopto server and delete the users from each one. - foreach($panoptoservers as $panoptoserver) { + foreach ($panoptoservers as $panoptoserver) { $currentpanopto = new \panopto_data(null); $currentpanopto->servername = $panoptoserver->name; $currentpanopto->applicationkey = $panoptoserver->appkey; - // search for user in panopto, if they exist then export the below data, if they do not exist then skip. + // Search for user in panopto, if they exist then export the below data, if they do not exist then skip. $panoptouser = $currentpanopto->get_user_by_key($instancename . '\\' . $userinfo->username); if ($panoptouser != null && !\panopto_is_guid_empty($panoptouser->UserId)) { - // Overwrite all of the existing user's current info with '--Deleted--' + // Overwrite all of the existing user's current info with '--Deleted--'. $currentpanopto->update_contact_info( - $panoptouser->UserId, + $panoptouser->UserId, "--Deleted--", "--Deleted--", "--Deleted--", @@ -197,11 +237,10 @@ public static function delete_data_for_user(\core_privacy\local\request\approved } } - /** * Delete multiple users within a single context. * - * @param contextlist $contextlist The approved context and user information to delete information for. + * @param context $context the approved context and user information to delete information for. */ public static function delete_data_for_all_users_in_context(\context $context) { if ($context->contextlevel != CONTEXT_COURSE) { @@ -214,14 +253,14 @@ public static function delete_data_for_all_users_in_context(\context $context) { $enrolledusers = \get_enrolled_users($context); $instancename = \get_config('block_panopto', 'instance_name'); - foreach($enrolledusers as $enrolleduser) { - // search for user in panopto, if they exist then export the below data, if they do not exist then skip. + foreach ($enrolledusers as $enrolleduser) { + // Search for user in panopto, if they exist then export the below data, if they do not exist then skip. $panoptouser = $currentpanopto->get_user_by_key($instancename . '\\' . $enrolleduser->username); if ($panoptouser != null && !\panopto_is_guid_empty($panoptouser->UserId)) { - // Overwrite all of the existing user's current info with '--Deleted--' + // Overwrite all of the existing user's current info with '--Deleted--'. $currentpanopto->update_contact_info( - $panoptouser->UserId, + $panoptouser->UserId, "--Deleted--", "--Deleted--", "--Deleted--", diff --git a/classes/rollingsync.php b/classes/rollingsync.php index b2d54be..4215b32 100644 --- a/classes/rollingsync.php +++ b/classes/rollingsync.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * adds rolling sync capability to Panopto + * Adds rolling sync capability to Panopto * * @package block_panopto * @copyright Panopto 2009 - 2016 /With contributions from Spenser Jones (sjones@ambrose.edu), @@ -60,20 +60,20 @@ public static function coursecreated(\core\event\course_created $event) { global $DB; if (get_config('block_panopto', 'auto_insert_lti_link_to_new_courses')) { - - // Get a matching LTI tool for the course. + + // Get a matching LTI tool for the course. $tool = \panoptoblock_lti_utility::get_course_tool($event->courseid); if (!empty($tool)) { - // default intro should be a folderview - $draftid_editor = file_get_submitted_draft_itemid('introeditor'); - file_prepare_draft_area($draftid_editor, null, null, null, null, array('subdirs'=>true)); + // Default intro should be a folderview. + $draftideditor = file_get_submitted_draft_itemid('introeditor'); + file_prepare_draft_area($draftideditor, null, null, null, null, array('subdirs' => true)); $moduleinfo = new stdClass(); $moduleinfo->modulename = 'lti'; $moduleinfo->course = $event->courseid; $moduleinfo->section = 0; - $moduleinfo->name = 'Panopto Course Tool'; + $moduleinfo->name = get_string('panopto_course_tool', 'block_panopto'); $moduleinfo->title = $tool->name; $moduleinfo->typeid = $tool->id; $moduleinfo->showdescriptionlaunch = false; @@ -82,7 +82,7 @@ public static function coursecreated(\core\event\course_created $event) { $moduleinfo->visible = true; $moduleinfo->intro = ''; $moduleinfo->icon = 'https://static-contents.panopto.com/prod/panopto_logo_moodle_tool_60x60.png'; - $moduleinfo->introeditor = array('text'=> $moduleinfo->intro, 'format'=>FORMAT_HTML, 'itemid'=>$draftid_editor); + $moduleinfo->introeditor = array('text' => $moduleinfo->intro, 'format' => FORMAT_HTML, 'itemid' => $draftideditor); create_module($moduleinfo); } } @@ -101,7 +101,6 @@ public static function coursecreated(\core\event\course_created $event) { $page->blocks->add_blocks(array(BLOCK_POS_LEFT => array('panopto')), $pagetypepattern); } - if (!\panopto_data::is_main_block_configured() || !\panopto_data::has_minimum_version()) { return; @@ -154,7 +153,7 @@ public static function courserestored(\core\event\course_restored $event) { $panoptodata = new \panopto_data($newcourseid); $originalpanoptodata = new \panopto_data($originalcourseid); - // We should only perform the import if both the target and the source course are provisioned in panopto + // We should only perform the import if both the target and the source course are provisioned in panopto. if (isset($panoptodata->servername) && !empty($panoptodata->servername) && isset($panoptodata->applicationkey) && !empty($panoptodata->applicationkey) && isset($panoptodata->sessiongroupid) && !empty($panoptodata->sessiongroupid) && @@ -165,14 +164,14 @@ public static function courserestored(\core\event\course_restored $event) { $panoptodata->ensure_auth_manager(); $activepanoptoserverversion = $panoptodata->authmanager->get_server_version(); $useccv2 = version_compare( - $activepanoptoserverversion, - \panopto_data::$ccv2requiredpanoptoversion, + $activepanoptoserverversion, + \panopto_data::$ccv2requiredpanoptoversion, '>=' ); - if($useccv2) + if ($useccv2) { $panoptodata->copy_panopto_content($originalcourseid); - else { + } else { $panoptodata->init_and_sync_import_ccv1($originalcourseid); } } @@ -230,7 +229,7 @@ public static function userenrolmentupdated(\core\event\user_enrolment_updated $ /** * Called when a user has been enrolled. * - * @param \core\event\user_enrolment_created $event + * @param \core\event\role_assigned $event */ public static function roleassigned(core\event\role_assigned $event) { if (!\panopto_data::is_main_block_configured() || @@ -256,7 +255,7 @@ public static function roleassigned(core\event\role_assigned $event) { /** * Called when a user enrollment has been updated. * - * @param \core\event\user_enrolment_updated $event + * @param \core\event\role_unassigned $event */ public static function roleunassigned(core\event\role_unassigned $event) { if (!\panopto_data::is_main_block_configured() || @@ -306,7 +305,8 @@ public static function userloggedin(\core\event\user_loggedin $event) { } /** - * Called when a user has logged in as a different user, this will sync the sub user being logged in as, not the admin user performing the action. + * Called when a user has logged in as a different user. + * This will sync the sub user being logged in as, not the admin user performing the action. * * @param \core\event\user_loggedinas $event */ diff --git a/classes/task/ensure_category.php b/classes/task/ensure_category.php index 519bb62..eca0622 100644 --- a/classes/task/ensure_category.php +++ b/classes/task/ensure_category.php @@ -14,7 +14,9 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . /** - * the ensure category class for Panopto, this will build a set of folders in panopto matching the given category and it's parent categories. + * The ensure category class for Panopto. + * + * This will build a set of folders in Panopto matching the given category and it's parent categories. * * @package block_panopto * @copyright Panopto 2009 - 2016 @@ -26,8 +28,11 @@ require_once(dirname(__FILE__) . '/../../lib/panopto_data.php'); require_once(dirname(__FILE__) . '/../../lib/panopto_category_data.php'); + /** - * Panopto "ensure category" task. This task will build a set of folders in panopto matching the given category and it's parent categories. + * Panopto "ensure category" task. + * + * This task will build a set of folders in Panopto matching the given category and it's parent categories. * * @package block_panopto * @copyright Panopto 2009 - 2016 /With contributions @@ -35,14 +40,14 @@ */ class ensure_category extends \core\task\adhoc_task { /** - * the the parent component for this class + * The the parent component for this class */ public function get_component() { return 'block_panopto'; } - + /** - * the main execution function of the class + * The main execution function of the class */ public function execute() { global $DB; @@ -50,14 +55,14 @@ public function execute() { try { $eventdata = (array) $this->get_custom_data(); $categoryid = $eventdata['categoryid']; - + $targetserver = panopto_get_target_panopto_server(); $serverpanopto = new \panopto_category_data($categoryid, $targetserver->name, $targetserver->appkey); // Sync the user to all courses mapped to the server. $serverpanopto->ensure_category_branch(false, null); } catch (Exception $e) { - \panopto_data::print_log(print_r($e->getMessage(), true)); + \panopto_data::print_log($e->getMessage()); } } } diff --git a/classes/task/provision_course.php b/classes/task/provision_course.php index 1818496..ad06739 100644 --- a/classes/task/provision_course.php +++ b/classes/task/provision_course.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * the provision course class for Panopto + * The provision course class for Panopto. * * @package block_panopto * @copyright Panopto 2009 - 2016 /With contributions from Spenser Jones (sjones@ambrose.edu), @@ -31,20 +31,21 @@ /** * Panopto "provision course" task. + * * @copyright Panopto 2009 - 2016 /With contributions from Spenser Jones (sjones@ambrose.edu), * Skylar Kelty * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class provision_course extends \core\task\adhoc_task { /** - * the the parent component for this class + * The the parent component for this class */ public function get_component() { return 'block_panopto'; } /** - * the main execution function of the class + * The main execution function of the class */ public function execute() { try { @@ -58,7 +59,7 @@ public function execute() { $provisioninginfo = $panopto->get_provisioning_info(); $provisioneddata = $panopto->provision_course($provisioninginfo, false); } catch (Exception $e) { - \panopto_data::print_log(print_r($e->getMessage(), true)); + \panopto_data::print_log($e->getMessage()); } } } diff --git a/classes/task/sync_user.php b/classes/task/sync_user.php index 0d13c51..b8bb54e 100644 --- a/classes/task/sync_user.php +++ b/classes/task/sync_user.php @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . /** - * the sync user class for Panopto, syncs user permissions with Panopto server, called on unenrollment event + * The sync user class for Panopto, syncs user permissions with Panopto server, called on unenrollment event. * * @package block_panopto * @copyright Panopto 2009 - 2016 @@ -23,20 +23,23 @@ namespace block_panopto\task; defined('MOODLE_INTERNAL') || die(); require_once(dirname(__FILE__) . '/../../lib/panopto_data.php'); + /** * Panopto "sync user" task. + * * @copyright Panopto 2009 - 2016 /With contributions * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class sync_user extends \core\task\adhoc_task { /** - * the the parent component for this class + * The the parent component for this class */ public function get_component() { return 'block_panopto'; } + /** - * the main execution function of the class + * The main execution function of the class */ public function execute() { global $DB; @@ -45,12 +48,14 @@ public function execute() { $eventdata = (array) $this->get_custom_data(); $coursepanopto = new \panopto_data($eventdata['courseid']); - if (isset($coursepanopto->servername) && !empty($coursepanopto->servername) && - isset($coursepanopto->applicationkey) && !empty($coursepanopto->applicationkey)) { + if (isset($coursepanopto->servername) && + !empty($coursepanopto->servername) && + isset($coursepanopto->applicationkey) && + !empty($coursepanopto->applicationkey)) { $coursepanopto->sync_external_user($eventdata['userid']); } } catch (Exception $e) { - \panopto_data::print_log(print_r($e->getMessage(), true)); + \panopto_data::print_log($e->getMessage()); } } } diff --git a/classes/task/sync_user_login.php b/classes/task/sync_user_login.php index efe317f..2089de9 100644 --- a/classes/task/sync_user_login.php +++ b/classes/task/sync_user_login.php @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . /** - * the sync user class for Panopto, syncs user permissions with Panopto server, called on unenrollment event + * The sync user class for Panopto, syncs user permissions with Panopto server, called on unenrollment event. * * @package block_panopto * @copyright Panopto 2009 - 2016 @@ -23,27 +23,30 @@ namespace block_panopto\task; defined('MOODLE_INTERNAL') || die(); require_once(dirname(__FILE__) . '/../../lib/panopto_data.php'); + /** * Panopto "sync user login" task. This task syncs a user with all targeted Panopto servers. + * * @copyright Panopto 2009 - 2016 /With contributions * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class sync_user_login extends \core\task\adhoc_task { /** - * the the parent component for this class + * The the parent component for this class */ public function get_component() { return 'block_panopto'; } + /** - * the main execution function of the class + * The main execution function of the class */ public function execute() { global $DB; try { $eventdata = (array) $this->get_custom_data(); - + if (empty($eventdata['targetserver'])) { $targetserver = panopto_get_target_panopto_server(); } else { @@ -57,7 +60,7 @@ public function execute() { // Sync the user to all courses mapped to the server. $serverpanopto->sync_external_user($eventdata['userid']); } catch (Exception $e) { - \panopto_data::print_log(print_r($e->getMessage(), true)); + \panopto_data::print_log($e->getMessage()); } } } diff --git a/db/access.php b/db/access.php index aaa98ab..96a91d2 100644 --- a/db/access.php +++ b/db/access.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * file containing config and permissions for different roles + * File containing config and permissions for different roles. * * @package block_panopto * @copyright Panopto 2009 - 2016 with contributions from Spenser Jones (sjones@ambrose.edu) diff --git a/db/events.php b/db/events.php index cdb6043..d783894 100644 --- a/db/events.php +++ b/db/events.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * contains the different events Panopto can expect to handle + * Contains the different events Panopto can expect to handle. * * @package block_panopto * @copyright Panopto 2009 - 2016 with contributions from Spenser Jones (sjones@ambrose.edu) diff --git a/db/upgrade.php b/db/upgrade.php index be05d35..ef525fb 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -15,17 +15,15 @@ // along with Moodle. If not, see . /** - * Scripts used for upgrading database when upgrading block from an older version + * Scripts used for upgrading database when upgrading block from an older version. * * @package block_panopto * @copyright Panopto 2009 - 2016 with contributions from Spenser Jones (sjones@ambrose.edu) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -defined('MOODLE_INTERNAL') || die(); - /** - * Upgrades Panopto for xmldb + * Upgrades Panopto for xmldb. * * @param int $oldversion the previous version Panopto is being upgraded from */ @@ -244,13 +242,20 @@ function xmldb_block_panopto_upgrade($oldversion = 0) { $oldfoldermaptable = new xmldb_table('block_panopto_old_foldermap'); if (!$dbman->table_exists($oldfoldermaptable)) { $mappingfields = array(); - $mappingfields[] = new xmldb_field('id', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, true); - $mappingfields[] = new xmldb_field('moodleid', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, null, 'id'); - $mappingfields[] = new xmldb_field('panopto_id', XMLDB_TYPE_CHAR, '36', null, XMLDB_NOTNULL, null, null, 'moodleid'); - $mappingfields[] = new xmldb_field('panopto_server', XMLDB_TYPE_CHAR, '64', null, XMLDB_NOTNULL, null, null, 'panopto_id'); - $mappingfields[] = new xmldb_field('panopto_app_key', XMLDB_TYPE_CHAR, '64', null, XMLDB_NOTNULL, null, null, 'panopto_server'); - $mappingfields[] = new xmldb_field('publisher_mapping', XMLDB_TYPE_CHAR, '20', null, null, null, '1', 'panopto_app_key'); - $mappingfields[] = new xmldb_field('creator_mapping', XMLDB_TYPE_CHAR, '20', null, null, null, '3,4', 'publisher_mapping'); + $mappingfields[] = + new xmldb_field('id', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, true); + $mappingfields[] = + new xmldb_field('moodleid', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, null, 'id'); + $mappingfields[] = + new xmldb_field('panopto_id', XMLDB_TYPE_CHAR, '36', null, XMLDB_NOTNULL, null, null, 'moodleid'); + $mappingfields[] = + new xmldb_field('panopto_server', XMLDB_TYPE_CHAR, '64', null, XMLDB_NOTNULL, null, null, 'panopto_id'); + $mappingfields[] = + new xmldb_field('panopto_app_key', XMLDB_TYPE_CHAR, '64', null, XMLDB_NOTNULL, null, null, 'panopto_server'); + $mappingfields[] = + new xmldb_field('publisher_mapping', XMLDB_TYPE_CHAR, '20', null, null, null, '1', 'panopto_app_key'); + $mappingfields[] = + new xmldb_field('creator_mapping', XMLDB_TYPE_CHAR, '20', null, null, null, '3,4', 'publisher_mapping'); $mappingkey = new xmldb_key('primary', XMLDB_KEY_PRIMARY, array('id'), null, null); foreach ($mappingfields as $mappingfield) { $oldfoldermaptable->addField($mappingfield); @@ -268,7 +273,8 @@ function xmldb_block_panopto_upgrade($oldversion = 0) { if ($oldversion < 2018030200) { - // Since this toggle got changed/removed for a select, get the old value and if it's set then set the new feature as appropriate. + // Since this toggle got changed/removed for a select, + // get the old value and if it's set then set the new feature as appropriate. if (get_config('block_panopto', 'prefix_new_folder_names')) { set_config('folder_name_style', 'combination', 'block_panopto'); } @@ -279,14 +285,18 @@ function xmldb_block_panopto_upgrade($oldversion = 0) { if ($oldversion < 2019070100) { - // Define table table where we will place all of our category mappings. So we can know which categories are linked to Panopto folders. + // Define table table where we will place all of our category mappings. + // So we can know which categories are linked to Panopto folders. $categorymaptable = new xmldb_table('block_panopto_categorymap'); if (!$dbman->table_exists($categorymaptable)) { $mappingfields = array(); $mappingfields[] = new xmldb_field('id', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, true); - $mappingfields[] = new xmldb_field('category_id', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, null, 'id'); - $mappingfields[] = new xmldb_field('panopto_id', XMLDB_TYPE_CHAR, '36', null, XMLDB_NOTNULL, null, null, 'category_id'); - $mappingfields[] = new xmldb_field('panopto_server', XMLDB_TYPE_CHAR, '64', null, XMLDB_NOTNULL, null, null, 'panopto_id'); + $mappingfields[] = + new xmldb_field('category_id', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, null, 'id'); + $mappingfields[] = + new xmldb_field('panopto_id', XMLDB_TYPE_CHAR, '36', null, XMLDB_NOTNULL, null, null, 'category_id'); + $mappingfields[] = + new xmldb_field('panopto_server', XMLDB_TYPE_CHAR, '64', null, XMLDB_NOTNULL, null, null, 'panopto_id'); $mappingkey = new xmldb_key('primary', XMLDB_KEY_PRIMARY, array('id'), null, null); foreach ($mappingfields as $mappingfield) { $categorymaptable->addField($mappingfield); @@ -294,7 +304,7 @@ function xmldb_block_panopto_upgrade($oldversion = 0) { $categorymaptable->addKey($mappingkey); $dbman->create_table($categorymaptable); } - + // Panopto savepoint reached. upgrade_block_savepoint(true, 2019070100, 'panopto'); } @@ -311,7 +321,7 @@ function xmldb_block_panopto_upgrade($oldversion = 0) { if (get_config('block_panopto', 'prefix_new_folder_names')) { unset_config('prefix_new_folder_names', 'block_panopto'); } - + // Panopto savepoint reached. upgrade_block_savepoint(true, 2020072736, 'panopto'); } @@ -344,12 +354,10 @@ function xmldb_block_panopto_upgrade($oldversion = 0) { $targetidindex = new xmldb_index('mdl_blocpanoimpo_tar_ix', XMLDB_INDEX_NOTUNIQUE, array('target_moodle_id'), array()); $importidindex = new xmldb_index('mdl_blocpanoimpo_imp_ix', XMLDB_INDEX_NOTUNIQUE, array('import_moodle_id'), array()); - if (!$dbman->index_exists($importmaptable, $targetidindex)) { $dbman->add_index($importmaptable, $targetidindex); } - if (!$dbman->index_exists($importmaptable, $importidindex)) { $dbman->add_index($importmaptable, $importidindex); } @@ -360,7 +368,6 @@ function xmldb_block_panopto_upgrade($oldversion = 0) { if ($dbman->table_exists($creatormaptable)) { $moodleidindex = new xmldb_index('mdl_blocpanocrea_moo_ix', XMLDB_INDEX_NOTUNIQUE, array('moodle_id'), array()); - if (!$dbman->index_exists($creatormaptable, $moodleidindex)) { $dbman->add_index($creatormaptable, $moodleidindex); } @@ -371,7 +378,6 @@ function xmldb_block_panopto_upgrade($oldversion = 0) { if ($dbman->table_exists($publishermaptable)) { $moodleidindex = new xmldb_index('mdl_blocpanopubl_moo_ix', XMLDB_INDEX_NOTUNIQUE, array('moodle_id'), array()); - if (!$dbman->index_exists($publishermaptable, $moodleidindex)) { $dbman->add_index($publishermaptable, $moodleidindex); } @@ -383,12 +389,10 @@ function xmldb_block_panopto_upgrade($oldversion = 0) { $moodleidindex = new xmldb_index('mdl_blocpanooldfold_moo_ix', XMLDB_INDEX_NOTUNIQUE, array('moodleid'), array()); $serverindex = new xmldb_index('mdl_blocpanooldfold_pan_ix', XMLDB_INDEX_NOTUNIQUE, array('panopto_server'), array()); - if (!$dbman->index_exists($oldfoldermaptable, $moodleidindex)) { $dbman->add_index($oldfoldermaptable, $moodleidindex); } - if (!$dbman->index_exists($oldfoldermaptable, $serverindex)) { $dbman->add_index($oldfoldermaptable, $serverindex); } @@ -399,14 +403,13 @@ function xmldb_block_panopto_upgrade($oldversion = 0) { if ($dbman->table_exists($categorymaptable)) { $serverindex = new xmldb_index('mdl_blocpanocate_cat_ix', XMLDB_INDEX_NOTUNIQUE, array('category_id'), array()); - if (!$dbman->index_exists($categorymaptable, $serverindex)) { $dbman->add_index($categorymaptable, $serverindex); } } else { return false; } - + // Panopto savepoint reached. upgrade_block_savepoint(true, 2021063000, 'panopto'); } diff --git a/edit_form.php b/edit_form.php index e1034bc..aad2521 100644 --- a/edit_form.php +++ b/edit_form.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * the edit form for the Panopto block + * The edit form for the Panopto block. * * @package block_panopto * @copyright Panopto 2009 - 2016 /With contributions from Spenser Jones (sjones@ambrose.edu) @@ -61,7 +61,11 @@ protected function specific_definition($mform) { $unprovisionurl = "$CFG->wwwroot/blocks/panopto/unprovision_course_internal.php?id=" . $COURSE->id; $unprovisionfrommoodle = get_string('unprovision_from_moodle', 'block_panopto'); $or = get_string('or', 'block_panopto'); - $mform->addElement('html', "$unprovisionfrommoodle

-- $or --

$addtopanopto

-- $or --

"); + $html = "$unprovisionfrommoodle

"; + $html .= "-- $or --

"; + $html .= "$addtopanopto

"; + $html .= "-- $or --

"; + $mform->addElement('html', $html); $courselist = $panoptodata->get_course_options(); @@ -111,7 +115,6 @@ protected function specific_definition($mform) { $mform->addElement('static', 'error', '', get_string('block_edit_error', 'block_panopto')); } } - } /* End of file edit_form.php */ diff --git a/lang/en/block_panopto.php b/lang/en/block_panopto.php index c7ded7f..3590a93 100644 --- a/lang/en/block_panopto.php +++ b/lang/en/block_panopto.php @@ -221,6 +221,7 @@ $string['panopto:provision_asteacher'] = 'Provision as a teacher'; $string['panopto:provision_course'] = 'Provision a course'; $string['panopto:provision_multiple'] = 'Provision multiple courses at once'; +$string['panopto_course_tool'] = 'Panopto Course Tool'; $string['panopto_server_error'] = 'Panopto server {$a} returned with server error, will try again on next sign in.'; $string['pluginname'] = 'Panopto'; $string['podcast_audio'] = 'Audio podcast'; diff --git a/lib/AuthManagement/AuthManagementWsdlClass.php b/lib/AuthManagement/AuthManagementWsdlClass.php index 92986cf..15e18ce 100644 --- a/lib/AuthManagement/AuthManagementWsdlClass.php +++ b/lib/AuthManagement/AuthManagementWsdlClass.php @@ -253,8 +253,9 @@ public function __construct($_arrayOfValues = array(),$_resetSoapClient = true) * @param string $_className optional (used by inherited classes in order to always call this method) * @return AuthManagementWsdlClass|null */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { + $_className = __CLASS__; if(class_exists($_className)) { $object = @new $_className(); diff --git a/lib/AuthManagement/Authentication/Info/AuthManagementStructAuthenticationInfo.php b/lib/AuthManagement/Authentication/Info/AuthManagementStructAuthenticationInfo.php index 730d7af..3b1bcd1 100644 --- a/lib/AuthManagement/Authentication/Info/AuthManagementStructAuthenticationInfo.php +++ b/lib/AuthManagement/Authentication/Info/AuthManagementStructAuthenticationInfo.php @@ -135,9 +135,9 @@ public function setUserKey($_userKey) * @param array $_array the exported values * @return AuthManagementStructAuthenticationInfo */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/AuthManagement/Get/Response/AuthManagementStructGetAuthenticatedUrlResponse.php b/lib/AuthManagement/Get/Response/AuthManagementStructGetAuthenticatedUrlResponse.php index ca5b768..79edd00 100644 --- a/lib/AuthManagement/Get/Response/AuthManagementStructGetAuthenticatedUrlResponse.php +++ b/lib/AuthManagement/Get/Response/AuthManagementStructGetAuthenticatedUrlResponse.php @@ -83,9 +83,9 @@ public function setGetAuthenticatedUrlResult($_getAuthenticatedUrlResult) * @param array $_array the exported values * @return AuthManagementStructGetAuthenticatedUrlResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/AuthManagement/Get/Response/AuthManagementStructGetServerVersionResponse.php b/lib/AuthManagement/Get/Response/AuthManagementStructGetServerVersionResponse.php index 74568b1..7578da0 100644 --- a/lib/AuthManagement/Get/Response/AuthManagementStructGetServerVersionResponse.php +++ b/lib/AuthManagement/Get/Response/AuthManagementStructGetServerVersionResponse.php @@ -83,9 +83,9 @@ public function setGetServerVersionResult($_getServerVersionResult) * @param array $_array the exported values * @return AuthManagementStructGetServerVersionResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/AuthManagement/Get/Url/AuthManagementStructGetAuthenticatedUrl.php b/lib/AuthManagement/Get/Url/AuthManagementStructGetAuthenticatedUrl.php index 2a1456d..459278a 100644 --- a/lib/AuthManagement/Get/Url/AuthManagementStructGetAuthenticatedUrl.php +++ b/lib/AuthManagement/Get/Url/AuthManagementStructGetAuthenticatedUrl.php @@ -109,9 +109,9 @@ public function setTargetUrl($_targetUrl) * @param array $_array the exported values * @return AuthManagementStructGetAuthenticatedUrl */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/AuthManagement/Log/Password/AuthManagementStructLogOnWithPassword.php b/lib/AuthManagement/Log/Password/AuthManagementStructLogOnWithPassword.php index d0805b0..a2312f0 100644 --- a/lib/AuthManagement/Log/Password/AuthManagementStructLogOnWithPassword.php +++ b/lib/AuthManagement/Log/Password/AuthManagementStructLogOnWithPassword.php @@ -109,9 +109,9 @@ public function setPassword($_password) * @param array $_array the exported values * @return AuthManagementStructLogOnWithPassword */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/AuthManagement/Log/Provider/AuthManagementStructLogOnWithExternalProvider.php b/lib/AuthManagement/Log/Provider/AuthManagementStructLogOnWithExternalProvider.php index 2bdd418..5b9b091 100644 --- a/lib/AuthManagement/Log/Provider/AuthManagementStructLogOnWithExternalProvider.php +++ b/lib/AuthManagement/Log/Provider/AuthManagementStructLogOnWithExternalProvider.php @@ -109,9 +109,9 @@ public function setAuthCode($_authCode) * @param array $_array the exported values * @return AuthManagementStructLogOnWithExternalProvider */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/AuthManagement/Log/Response/AuthManagementStructLogOnWithExternalProviderResponse.php b/lib/AuthManagement/Log/Response/AuthManagementStructLogOnWithExternalProviderResponse.php index 4a0fc26..834550a 100644 --- a/lib/AuthManagement/Log/Response/AuthManagementStructLogOnWithExternalProviderResponse.php +++ b/lib/AuthManagement/Log/Response/AuthManagementStructLogOnWithExternalProviderResponse.php @@ -82,9 +82,9 @@ public function setLogOnWithExternalProviderResult($_logOnWithExternalProviderRe * @param array $_array the exported values * @return AuthManagementStructLogOnWithExternalProviderResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/AuthManagement/Log/Response/AuthManagementStructLogOnWithPasswordResponse.php b/lib/AuthManagement/Log/Response/AuthManagementStructLogOnWithPasswordResponse.php index 0e5b06e..ced50bb 100644 --- a/lib/AuthManagement/Log/Response/AuthManagementStructLogOnWithPasswordResponse.php +++ b/lib/AuthManagement/Log/Response/AuthManagementStructLogOnWithPasswordResponse.php @@ -82,9 +82,9 @@ public function setLogOnWithPasswordResult($_logOnWithPasswordResult) * @param array $_array the exported values * @return AuthManagementStructLogOnWithPasswordResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/AuthManagement/Report/Info/AuthManagementStructReportIntegrationInfo.php b/lib/AuthManagement/Report/Info/AuthManagementStructReportIntegrationInfo.php index 4b3b43a..6f91225 100644 --- a/lib/AuthManagement/Report/Info/AuthManagementStructReportIntegrationInfo.php +++ b/lib/AuthManagement/Report/Info/AuthManagementStructReportIntegrationInfo.php @@ -161,9 +161,9 @@ public function setTargetPlatformVersion($_targetPlatformVersion) * @param array $_array the exported values * @return AuthManagementStructReportIntegrationInfo */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Add/Folder/SessionManagementStructAddFolder.php b/lib/SessionManagement/Add/Folder/SessionManagementStructAddFolder.php index 6d47ab1..180fa7a 100644 --- a/lib/SessionManagement/Add/Folder/SessionManagementStructAddFolder.php +++ b/lib/SessionManagement/Add/Folder/SessionManagementStructAddFolder.php @@ -161,9 +161,9 @@ public function setIsPublic($_isPublic) * @param array $_array the exported values * @return SessionManagementStructAddFolder */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Add/Response/SessionManagementStructAddFolderResponse.php b/lib/SessionManagement/Add/Response/SessionManagementStructAddFolderResponse.php index 7ae73b3..f055e04 100644 --- a/lib/SessionManagement/Add/Response/SessionManagementStructAddFolderResponse.php +++ b/lib/SessionManagement/Add/Response/SessionManagementStructAddFolderResponse.php @@ -83,9 +83,9 @@ public function setAddFolderResult($_addFolderResult) * @param array $_array the exported values * @return SessionManagementStructAddFolderResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Add/Response/SessionManagementStructAddSessionResponse.php b/lib/SessionManagement/Add/Response/SessionManagementStructAddSessionResponse.php index 71b7785..ecc82a6 100644 --- a/lib/SessionManagement/Add/Response/SessionManagementStructAddSessionResponse.php +++ b/lib/SessionManagement/Add/Response/SessionManagementStructAddSessionResponse.php @@ -83,9 +83,9 @@ public function setAddSessionResult($_addSessionResult) * @param array $_array the exported values * @return SessionManagementStructAddSessionResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Add/Session/SessionManagementStructAddSession.php b/lib/SessionManagement/Add/Session/SessionManagementStructAddSession.php index 0620cca..cace73b 100644 --- a/lib/SessionManagement/Add/Session/SessionManagementStructAddSession.php +++ b/lib/SessionManagement/Add/Session/SessionManagementStructAddSession.php @@ -160,9 +160,9 @@ public function setIsBroadcast($_isBroadcast) * @param array $_array the exported values * @return SessionManagementStructAddSession */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Are/Public/SessionManagementStructAreUsersNotesPublic.php b/lib/SessionManagement/Are/Public/SessionManagementStructAreUsersNotesPublic.php index b416eb6..e09adf9 100644 --- a/lib/SessionManagement/Are/Public/SessionManagementStructAreUsersNotesPublic.php +++ b/lib/SessionManagement/Are/Public/SessionManagementStructAreUsersNotesPublic.php @@ -135,9 +135,9 @@ public function setSessionId($_sessionId) * @param array $_array the exported values * @return SessionManagementStructAreUsersNotesPublic */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Are/Response/SessionManagementStructAreUsersNotesPublicResponse.php b/lib/SessionManagement/Are/Response/SessionManagementStructAreUsersNotesPublicResponse.php index c041a56..5ecd99e 100644 --- a/lib/SessionManagement/Are/Response/SessionManagementStructAreUsersNotesPublicResponse.php +++ b/lib/SessionManagement/Are/Response/SessionManagementStructAreUsersNotesPublicResponse.php @@ -82,9 +82,9 @@ public function setAreUsersNotesPublicResult($_areUsersNotesPublicResult) * @param array $_array the exported values * @return SessionManagementStructAreUsersNotesPublicResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Array/Context/SessionManagementStructArrayOfFolderWithExternalContext.php b/lib/SessionManagement/Array/Context/SessionManagementStructArrayOfFolderWithExternalContext.php index 20ac03c..e798cea 100644 --- a/lib/SessionManagement/Array/Context/SessionManagementStructArrayOfFolderWithExternalContext.php +++ b/lib/SessionManagement/Array/Context/SessionManagementStructArrayOfFolderWithExternalContext.php @@ -140,9 +140,9 @@ public function getAttributeName() * @param array $_array the exported values * @return SessionManagementStructArrayOfFolderWithExternalContext */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Array/Folder/SessionManagementStructArrayOfFolder.php b/lib/SessionManagement/Array/Folder/SessionManagementStructArrayOfFolder.php index 5f316fc..90778fe 100644 --- a/lib/SessionManagement/Array/Folder/SessionManagementStructArrayOfFolder.php +++ b/lib/SessionManagement/Array/Folder/SessionManagementStructArrayOfFolder.php @@ -140,9 +140,9 @@ public function getAttributeName() * @param array $_array the exported values * @return SessionManagementStructArrayOfFolder */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Array/Note/SessionManagementStructArrayOfNote.php b/lib/SessionManagement/Array/Note/SessionManagementStructArrayOfNote.php index 54edce4..c6fefcc 100644 --- a/lib/SessionManagement/Array/Note/SessionManagementStructArrayOfNote.php +++ b/lib/SessionManagement/Array/Note/SessionManagementStructArrayOfNote.php @@ -140,9 +140,9 @@ public function getAttributeName() * @param array $_array the exported values * @return SessionManagementStructArrayOfNote */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Array/OfExternalHierarchyInfo/SessionManagementStructArrayOfExternalHierarchyInfo.php b/lib/SessionManagement/Array/OfExternalHierarchyInfo/SessionManagementStructArrayOfExternalHierarchyInfo.php index 8312259..f2ab2b0 100644 --- a/lib/SessionManagement/Array/OfExternalHierarchyInfo/SessionManagementStructArrayOfExternalHierarchyInfo.php +++ b/lib/SessionManagement/Array/OfExternalHierarchyInfo/SessionManagementStructArrayOfExternalHierarchyInfo.php @@ -138,9 +138,9 @@ public function getAttributeName() * @param array $_array the exported values * @return SessionManagementStructArrayOfExternalHierarchyInfo */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Array/Ofguid/SessionManagementStructArrayOfguid.php b/lib/SessionManagement/Array/Ofguid/SessionManagementStructArrayOfguid.php index 991d5b4..adf6c8a 100644 --- a/lib/SessionManagement/Array/Ofguid/SessionManagementStructArrayOfguid.php +++ b/lib/SessionManagement/Array/Ofguid/SessionManagementStructArrayOfguid.php @@ -140,9 +140,9 @@ public function getAttributeName() * @param array $_array the exported values * @return SessionManagementStructArrayOfguid */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Array/Ofstring/SessionManagementStructArrayOfstring.php b/lib/SessionManagement/Array/Ofstring/SessionManagementStructArrayOfstring.php index dd2356b..77bf1ef 100644 --- a/lib/SessionManagement/Array/Ofstring/SessionManagementStructArrayOfstring.php +++ b/lib/SessionManagement/Array/Ofstring/SessionManagementStructArrayOfstring.php @@ -140,9 +140,9 @@ public function getAttributeName() * @param array $_array the exported values * @return SessionManagementStructArrayOfstring */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Array/Role/SessionManagementStructArrayOfAccessRole.php b/lib/SessionManagement/Array/Role/SessionManagementStructArrayOfAccessRole.php index 485dbb3..01b8beb 100644 --- a/lib/SessionManagement/Array/Role/SessionManagementStructArrayOfAccessRole.php +++ b/lib/SessionManagement/Array/Role/SessionManagementStructArrayOfAccessRole.php @@ -150,9 +150,9 @@ public function getAttributeName() * @param array $_array the exported values * @return SessionManagementStructArrayOfAccessRole */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Array/Session/SessionManagementStructArrayOfSession.php b/lib/SessionManagement/Array/Session/SessionManagementStructArrayOfSession.php index 72d0707..791e6b9 100644 --- a/lib/SessionManagement/Array/Session/SessionManagementStructArrayOfSession.php +++ b/lib/SessionManagement/Array/Session/SessionManagementStructArrayOfSession.php @@ -140,9 +140,9 @@ public function getAttributeName() * @param array $_array the exported values * @return SessionManagementStructArrayOfSession */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Array/Settings/SessionManagementStructArrayOfFolderAvailabilitySettings.php b/lib/SessionManagement/Array/Settings/SessionManagementStructArrayOfFolderAvailabilitySettings.php index 61e6dd7..76c0027 100644 --- a/lib/SessionManagement/Array/Settings/SessionManagementStructArrayOfFolderAvailabilitySettings.php +++ b/lib/SessionManagement/Array/Settings/SessionManagementStructArrayOfFolderAvailabilitySettings.php @@ -140,9 +140,9 @@ public function getAttributeName() * @param array $_array the exported values * @return SessionManagementStructArrayOfFolderAvailabilitySettings */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Array/Settings/SessionManagementStructArrayOfSessionAvailabilitySettings.php b/lib/SessionManagement/Array/Settings/SessionManagementStructArrayOfSessionAvailabilitySettings.php index 1f91947..7d6ad93 100644 --- a/lib/SessionManagement/Array/Settings/SessionManagementStructArrayOfSessionAvailabilitySettings.php +++ b/lib/SessionManagement/Array/Settings/SessionManagementStructArrayOfSessionAvailabilitySettings.php @@ -140,9 +140,9 @@ public function getAttributeName() * @param array $_array the exported values * @return SessionManagementStructArrayOfSessionAvailabilitySettings */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Array/State/SessionManagementStructArrayOfSessionState.php b/lib/SessionManagement/Array/State/SessionManagementStructArrayOfSessionState.php index 70debf5..3c39686 100644 --- a/lib/SessionManagement/Array/State/SessionManagementStructArrayOfSessionState.php +++ b/lib/SessionManagement/Array/State/SessionManagementStructArrayOfSessionState.php @@ -150,9 +150,9 @@ public function getAttributeName() * @param array $_array the exported values * @return SessionManagementStructArrayOfSessionState */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Authentication/Info/SessionManagementStructAuthenticationInfo.php b/lib/SessionManagement/Authentication/Info/SessionManagementStructAuthenticationInfo.php index c346637..13edc89 100644 --- a/lib/SessionManagement/Authentication/Info/SessionManagementStructAuthenticationInfo.php +++ b/lib/SessionManagement/Authentication/Info/SessionManagementStructAuthenticationInfo.php @@ -135,9 +135,9 @@ public function setUserKey($_userKey) * @param array $_array the exported values * @return SessionManagementStructAuthenticationInfo */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Create/Response/SessionManagementStructCreateNoteByAbsoluteTimeResponse.php b/lib/SessionManagement/Create/Response/SessionManagementStructCreateNoteByAbsoluteTimeResponse.php index 2337b55..2576ed3 100644 --- a/lib/SessionManagement/Create/Response/SessionManagementStructCreateNoteByAbsoluteTimeResponse.php +++ b/lib/SessionManagement/Create/Response/SessionManagementStructCreateNoteByAbsoluteTimeResponse.php @@ -83,9 +83,9 @@ public function setCreateNoteByAbsoluteTimeResult($_createNoteByAbsoluteTimeResu * @param array $_array the exported values * @return SessionManagementStructCreateNoteByAbsoluteTimeResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Create/Response/SessionManagementStructCreateNoteByRelativeTimeResponse.php b/lib/SessionManagement/Create/Response/SessionManagementStructCreateNoteByRelativeTimeResponse.php index f56b54c..375eeb6 100644 --- a/lib/SessionManagement/Create/Response/SessionManagementStructCreateNoteByRelativeTimeResponse.php +++ b/lib/SessionManagement/Create/Response/SessionManagementStructCreateNoteByRelativeTimeResponse.php @@ -83,9 +83,9 @@ public function setCreateNoteByRelativeTimeResult($_createNoteByRelativeTimeResu * @param array $_array the exported values * @return SessionManagementStructCreateNoteByRelativeTimeResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Create/Time/SessionManagementStructCreateCaptionByAbsoluteTime.php b/lib/SessionManagement/Create/Time/SessionManagementStructCreateCaptionByAbsoluteTime.php index b9825f2..6435ef8 100644 --- a/lib/SessionManagement/Create/Time/SessionManagementStructCreateCaptionByAbsoluteTime.php +++ b/lib/SessionManagement/Create/Time/SessionManagementStructCreateCaptionByAbsoluteTime.php @@ -160,9 +160,9 @@ public function setTimestamp($_timestamp) * @param array $_array the exported values * @return SessionManagementStructCreateCaptionByAbsoluteTime */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Create/Time/SessionManagementStructCreateCaptionByRelativeTime.php b/lib/SessionManagement/Create/Time/SessionManagementStructCreateCaptionByRelativeTime.php index e39b8dd..80ba304 100644 --- a/lib/SessionManagement/Create/Time/SessionManagementStructCreateCaptionByRelativeTime.php +++ b/lib/SessionManagement/Create/Time/SessionManagementStructCreateCaptionByRelativeTime.php @@ -160,9 +160,9 @@ public function setTimestamp($_timestamp) * @param array $_array the exported values * @return SessionManagementStructCreateCaptionByRelativeTime */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Create/Time/SessionManagementStructCreateNoteByAbsoluteTime.php b/lib/SessionManagement/Create/Time/SessionManagementStructCreateNoteByAbsoluteTime.php index 440759e..7ad578b 100644 --- a/lib/SessionManagement/Create/Time/SessionManagementStructCreateNoteByAbsoluteTime.php +++ b/lib/SessionManagement/Create/Time/SessionManagementStructCreateNoteByAbsoluteTime.php @@ -186,9 +186,9 @@ public function setTimestamp($_timestamp) * @param array $_array the exported values * @return SessionManagementStructCreateNoteByAbsoluteTime */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Create/Time/SessionManagementStructCreateNoteByRelativeTime.php b/lib/SessionManagement/Create/Time/SessionManagementStructCreateNoteByRelativeTime.php index 4be6b51..8cbf7fd 100644 --- a/lib/SessionManagement/Create/Time/SessionManagementStructCreateNoteByRelativeTime.php +++ b/lib/SessionManagement/Create/Time/SessionManagementStructCreateNoteByRelativeTime.php @@ -186,9 +186,9 @@ public function setTimestamp($_timestamp) * @param array $_array the exported values * @return SessionManagementStructCreateNoteByRelativeTime */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Date/Offset/SessionManagementStructDateTimeOffset.php b/lib/SessionManagement/Date/Offset/SessionManagementStructDateTimeOffset.php index 28a24fd..47aadb0 100644 --- a/lib/SessionManagement/Date/Offset/SessionManagementStructDateTimeOffset.php +++ b/lib/SessionManagement/Date/Offset/SessionManagementStructDateTimeOffset.php @@ -103,9 +103,9 @@ public function setOffsetMinutes($_offsetMinutes) * @param array $_array the exported values * @return SessionManagementStructDateTimeOffset */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Delete/Folders/SessionManagementStructDeleteFolders.php b/lib/SessionManagement/Delete/Folders/SessionManagementStructDeleteFolders.php index 1d65829..182b44b 100644 --- a/lib/SessionManagement/Delete/Folders/SessionManagementStructDeleteFolders.php +++ b/lib/SessionManagement/Delete/Folders/SessionManagementStructDeleteFolders.php @@ -109,9 +109,9 @@ public function setFolderIds($_folderIds) * @param array $_array the exported values * @return SessionManagementStructDeleteFolders */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Delete/Note/SessionManagementStructDeleteNote.php b/lib/SessionManagement/Delete/Note/SessionManagementStructDeleteNote.php index 579a776..9cf0dd2 100644 --- a/lib/SessionManagement/Delete/Note/SessionManagementStructDeleteNote.php +++ b/lib/SessionManagement/Delete/Note/SessionManagementStructDeleteNote.php @@ -135,9 +135,9 @@ public function setSessionId($_sessionId) * @param array $_array the exported values * @return SessionManagementStructDeleteNote */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Delete/Sessions/SessionManagementStructDeleteSessions.php b/lib/SessionManagement/Delete/Sessions/SessionManagementStructDeleteSessions.php index 4c931aa..b49ac11 100644 --- a/lib/SessionManagement/Delete/Sessions/SessionManagementStructDeleteSessions.php +++ b/lib/SessionManagement/Delete/Sessions/SessionManagementStructDeleteSessions.php @@ -109,9 +109,9 @@ public function setSessionIds($_sessionIds) * @param array $_array the exported values * @return SessionManagementStructDeleteSessions */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Edit/Note/SessionManagementStructEditNote.php b/lib/SessionManagement/Edit/Note/SessionManagementStructEditNote.php index 2f32d42..e0c16cc 100644 --- a/lib/SessionManagement/Edit/Note/SessionManagementStructEditNote.php +++ b/lib/SessionManagement/Edit/Note/SessionManagementStructEditNote.php @@ -161,9 +161,9 @@ public function setNewText($_newText) * @param array $_array the exported values * @return SessionManagementStructEditNote */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Ensure/Branch/SessionManagementStructEnsureExternalHierarchyBranch.php b/lib/SessionManagement/Ensure/Branch/SessionManagementStructEnsureExternalHierarchyBranch.php index 3947ead..6df20a2 100644 --- a/lib/SessionManagement/Ensure/Branch/SessionManagementStructEnsureExternalHierarchyBranch.php +++ b/lib/SessionManagement/Ensure/Branch/SessionManagementStructEnsureExternalHierarchyBranch.php @@ -107,9 +107,9 @@ public function setExternalHierarchyBranch($_externalHierarchyBranch) * @param array $_array the exported values * @return SessionManagementStructEnsureExternalHierarchyBranch */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Ensure/Response/SessionManagementStructEnsureExternalHierarchyBranchResponse.php b/lib/SessionManagement/Ensure/Response/SessionManagementStructEnsureExternalHierarchyBranchResponse.php index b9c483e..528abe3 100644 --- a/lib/SessionManagement/Ensure/Response/SessionManagementStructEnsureExternalHierarchyBranchResponse.php +++ b/lib/SessionManagement/Ensure/Response/SessionManagementStructEnsureExternalHierarchyBranchResponse.php @@ -81,9 +81,9 @@ public function setEnsureExternalHierarchyBranchResult($_EnsureExternalHierarchy * @param array $_array the exported values * @return SessionManagementStructEnsureExternalHierarchyBranchResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/ExternalHierarchyInfo/SessionManagementStructExternalHierarchyInfo.php b/lib/SessionManagement/ExternalHierarchyInfo/SessionManagementStructExternalHierarchyInfo.php index aeecb64..f6d8591 100644 --- a/lib/SessionManagement/ExternalHierarchyInfo/SessionManagementStructExternalHierarchyInfo.php +++ b/lib/SessionManagement/ExternalHierarchyInfo/SessionManagementStructExternalHierarchyInfo.php @@ -63,7 +63,7 @@ class SessionManagementStructExternalHierarchyInfo extends SessionManagementWsdl * @param string $_externalId * @param boolean $_isCourse */ - public function __construct($_name = NULL,$_externalId = NULL,$_isCourse) + public function __construct($_isCourse,$_name = NULL,$_externalId = NULL) { parent::__construct(array('Name'=>$_name,'ExternalId'=>$_externalId,'IsCourse'=>$_isCourse),false); } @@ -126,9 +126,9 @@ public function setIsCourse($_isCourse) * @param array $_array the exported values * @return SessionManagementStructExternalHierarchyInfo */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Folder/Base/SessionManagementStructFolderBase.php b/lib/SessionManagement/Folder/Base/SessionManagementStructFolderBase.php index 9a8bbc2..1cbf19b 100644 --- a/lib/SessionManagement/Folder/Base/SessionManagementStructFolderBase.php +++ b/lib/SessionManagement/Folder/Base/SessionManagementStructFolderBase.php @@ -573,9 +573,9 @@ public function setVideoRssUrl($_videoRssUrl) * @param array $_array the exported values * @return SessionManagementStructFolderBase */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Folder/Context/SessionManagementStructFolderWithExternalContext.php b/lib/SessionManagement/Folder/Context/SessionManagementStructFolderWithExternalContext.php index f82a669..f92c37b 100644 --- a/lib/SessionManagement/Folder/Context/SessionManagementStructFolderWithExternalContext.php +++ b/lib/SessionManagement/Folder/Context/SessionManagementStructFolderWithExternalContext.php @@ -83,9 +83,9 @@ public function setExternalIds($_externalIds) * @param array $_array the exported values * @return SessionManagementStructFolderWithExternalContext */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Folder/SessionManagementStructFolder.php b/lib/SessionManagement/Folder/SessionManagementStructFolder.php index ca676b9..9f36ef5 100644 --- a/lib/SessionManagement/Folder/SessionManagementStructFolder.php +++ b/lib/SessionManagement/Folder/SessionManagementStructFolder.php @@ -83,9 +83,9 @@ public function setExternalId($_externalId) * @param array $_array the exported values * @return SessionManagementStructFolder */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Folder/Settings/SessionManagementStructFolderAvailabilitySettings.php b/lib/SessionManagement/Folder/Settings/SessionManagementStructFolderAvailabilitySettings.php index 4c985ae..b151711 100644 --- a/lib/SessionManagement/Folder/Settings/SessionManagementStructFolderAvailabilitySettings.php +++ b/lib/SessionManagement/Folder/Settings/SessionManagementStructFolderAvailabilitySettings.php @@ -195,9 +195,9 @@ public function setStartSettingType($_startSettingType) * @param array $_array the exported values * @return SessionManagementStructFolderAvailabilitySettings */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Folders/Settings/SessionManagementStructFoldersWithAvailabilitySettings.php b/lib/SessionManagement/Folders/Settings/SessionManagementStructFoldersWithAvailabilitySettings.php index fda1dc8..36a70f2 100644 --- a/lib/SessionManagement/Folders/Settings/SessionManagementStructFoldersWithAvailabilitySettings.php +++ b/lib/SessionManagement/Folders/Settings/SessionManagementStructFoldersWithAvailabilitySettings.php @@ -108,9 +108,9 @@ public function setTotalNumberResults($_totalNumberResults) * @param array $_array the exported values * @return SessionManagementStructFoldersWithAvailabilitySettings */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Id/SessionManagementStructGetAllFoldersByExternalId.php b/lib/SessionManagement/Get/Id/SessionManagementStructGetAllFoldersByExternalId.php index 567bb22..4caacd8 100644 --- a/lib/SessionManagement/Get/Id/SessionManagementStructGetAllFoldersByExternalId.php +++ b/lib/SessionManagement/Get/Id/SessionManagementStructGetAllFoldersByExternalId.php @@ -135,9 +135,9 @@ public function setProviderNames($_providerNames) * @param array $_array the exported values * @return SessionManagementStructGetAllFoldersByExternalId */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Id/SessionManagementStructGetAllFoldersWithExternalContextByExternalId.php b/lib/SessionManagement/Get/Id/SessionManagementStructGetAllFoldersWithExternalContextByExternalId.php index c13257b..55f7358 100644 --- a/lib/SessionManagement/Get/Id/SessionManagementStructGetAllFoldersWithExternalContextByExternalId.php +++ b/lib/SessionManagement/Get/Id/SessionManagementStructGetAllFoldersWithExternalContextByExternalId.php @@ -135,9 +135,9 @@ public function setProviderNames($_providerNames) * @param array $_array the exported values * @return SessionManagementStructGetAllFoldersWithExternalContextByExternalId */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersByExternalId.php b/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersByExternalId.php index 20a3846..c7a311e 100644 --- a/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersByExternalId.php +++ b/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersByExternalId.php @@ -109,9 +109,9 @@ public function setFolderExternalIds($_folderExternalIds) * @param array $_array the exported values * @return SessionManagementStructGetFoldersByExternalId */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersById.php b/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersById.php index 2632d57..02df4aa 100644 --- a/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersById.php +++ b/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersById.php @@ -109,9 +109,9 @@ public function setFolderIds($_folderIds) * @param array $_array the exported values * @return SessionManagementStructGetFoldersById */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersWithExternalContextByExternalId.php b/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersWithExternalContextByExternalId.php index a584864..dd0d609 100644 --- a/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersWithExternalContextByExternalId.php +++ b/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersWithExternalContextByExternalId.php @@ -109,9 +109,9 @@ public function setFolderExternalIds($_folderExternalIds) * @param array $_array the exported values * @return SessionManagementStructGetFoldersWithExternalContextByExternalId */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersWithExternalContextById.php b/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersWithExternalContextById.php index 5528594..d617e61 100644 --- a/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersWithExternalContextById.php +++ b/lib/SessionManagement/Get/Id/SessionManagementStructGetFoldersWithExternalContextById.php @@ -109,9 +109,9 @@ public function setFolderIds($_folderIds) * @param array $_array the exported values * @return SessionManagementStructGetFoldersWithExternalContextById */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Id/SessionManagementStructGetSessionsByExternalId.php b/lib/SessionManagement/Get/Id/SessionManagementStructGetSessionsByExternalId.php index ee6d72d..5ad1951 100644 --- a/lib/SessionManagement/Get/Id/SessionManagementStructGetSessionsByExternalId.php +++ b/lib/SessionManagement/Get/Id/SessionManagementStructGetSessionsByExternalId.php @@ -109,9 +109,9 @@ public function setSessionExternalIds($_sessionExternalIds) * @param array $_array the exported values * @return SessionManagementStructGetSessionsByExternalId */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Id/SessionManagementStructGetSessionsById.php b/lib/SessionManagement/Get/Id/SessionManagementStructGetSessionsById.php index 1b48220..61e47a6 100644 --- a/lib/SessionManagement/Get/Id/SessionManagementStructGetSessionsById.php +++ b/lib/SessionManagement/Get/Id/SessionManagementStructGetSessionsById.php @@ -109,9 +109,9 @@ public function setSessionIds($_sessionIds) * @param array $_array the exported values * @return SessionManagementStructGetSessionsById */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/List/SessionManagementStructGetCreatorFoldersList.php b/lib/SessionManagement/Get/List/SessionManagementStructGetCreatorFoldersList.php index a076879..74ff3a1 100644 --- a/lib/SessionManagement/Get/List/SessionManagementStructGetCreatorFoldersList.php +++ b/lib/SessionManagement/Get/List/SessionManagementStructGetCreatorFoldersList.php @@ -135,9 +135,9 @@ public function setSearchQuery($_searchQuery) * @param array $_array the exported values * @return SessionManagementStructGetCreatorFoldersList */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/List/SessionManagementStructGetCreatorFoldersWithExternalContextList.php b/lib/SessionManagement/Get/List/SessionManagementStructGetCreatorFoldersWithExternalContextList.php index 257550f..d9a4e9d 100644 --- a/lib/SessionManagement/Get/List/SessionManagementStructGetCreatorFoldersWithExternalContextList.php +++ b/lib/SessionManagement/Get/List/SessionManagementStructGetCreatorFoldersWithExternalContextList.php @@ -135,9 +135,9 @@ public function setSearchQuery($_searchQuery) * @param array $_array the exported values * @return SessionManagementStructGetCreatorFoldersWithExternalContextList */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/List/SessionManagementStructGetFoldersList.php b/lib/SessionManagement/Get/List/SessionManagementStructGetFoldersList.php index 279f71c..fb8d573 100644 --- a/lib/SessionManagement/Get/List/SessionManagementStructGetFoldersList.php +++ b/lib/SessionManagement/Get/List/SessionManagementStructGetFoldersList.php @@ -135,9 +135,9 @@ public function setSearchQuery($_searchQuery) * @param array $_array the exported values * @return SessionManagementStructGetFoldersList */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/List/SessionManagementStructGetFoldersWithExternalContextList.php b/lib/SessionManagement/Get/List/SessionManagementStructGetFoldersWithExternalContextList.php index ec598f6..cd29635 100644 --- a/lib/SessionManagement/Get/List/SessionManagementStructGetFoldersWithExternalContextList.php +++ b/lib/SessionManagement/Get/List/SessionManagementStructGetFoldersWithExternalContextList.php @@ -135,9 +135,9 @@ public function setSearchQuery($_searchQuery) * @param array $_array the exported values * @return SessionManagementStructGetFoldersWithExternalContextList */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/List/SessionManagementStructGetSessionsList.php b/lib/SessionManagement/Get/List/SessionManagementStructGetSessionsList.php index 9163e50..7200c26 100644 --- a/lib/SessionManagement/Get/List/SessionManagementStructGetSessionsList.php +++ b/lib/SessionManagement/Get/List/SessionManagementStructGetSessionsList.php @@ -135,9 +135,9 @@ public function setSearchQuery($_searchQuery) * @param array $_array the exported values * @return SessionManagementStructGetSessionsList */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Note/SessionManagementStructGetNote.php b/lib/SessionManagement/Get/Note/SessionManagementStructGetNote.php index fe8cc33..8e950ef 100644 --- a/lib/SessionManagement/Get/Note/SessionManagementStructGetNote.php +++ b/lib/SessionManagement/Get/Note/SessionManagementStructGetNote.php @@ -135,9 +135,9 @@ public function setSessionId($_sessionId) * @param array $_array the exported values * @return SessionManagementStructGetNote */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetAllFoldersByExternalIdResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetAllFoldersByExternalIdResponse.php index b453917..733f1f7 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetAllFoldersByExternalIdResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetAllFoldersByExternalIdResponse.php @@ -83,9 +83,9 @@ public function setGetAllFoldersByExternalIdResult($_getAllFoldersByExternalIdRe * @param array $_array the exported values * @return SessionManagementStructGetAllFoldersByExternalIdResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetAllFoldersWithExternalContextByExternalIdResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetAllFoldersWithExternalContextByExternalIdResponse.php index a6f6139..102dacb 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetAllFoldersWithExternalContextByExternalIdResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetAllFoldersWithExternalContextByExternalIdResponse.php @@ -83,9 +83,9 @@ public function setGetAllFoldersWithExternalContextByExternalIdResult($_getAllFo * @param array $_array the exported values * @return SessionManagementStructGetAllFoldersWithExternalContextByExternalIdResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetCreatorFoldersListResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetCreatorFoldersListResponse.php index 33b8bd2..24b12fc 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetCreatorFoldersListResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetCreatorFoldersListResponse.php @@ -83,9 +83,9 @@ public function setGetCreatorFoldersListResult($_getCreatorFoldersListResult) * @param array $_array the exported values * @return SessionManagementStructGetCreatorFoldersListResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetCreatorFoldersWithExternalContextListResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetCreatorFoldersWithExternalContextListResponse.php index 8b3fd47..67c992a 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetCreatorFoldersWithExternalContextListResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetCreatorFoldersWithExternalContextListResponse.php @@ -83,9 +83,9 @@ public function setGetCreatorFoldersWithExternalContextListResult($_getCreatorFo * @param array $_array the exported values * @return SessionManagementStructGetCreatorFoldersWithExternalContextListResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersAvailabilitySettingsResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersAvailabilitySettingsResponse.php index 84b52e2..e26e982 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersAvailabilitySettingsResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersAvailabilitySettingsResponse.php @@ -83,9 +83,9 @@ public function setGetFoldersAvailabilitySettingsResult($_getFoldersAvailability * @param array $_array the exported values * @return SessionManagementStructGetFoldersAvailabilitySettingsResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersByExternalIdResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersByExternalIdResponse.php index d085cb5..080b929 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersByExternalIdResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersByExternalIdResponse.php @@ -83,9 +83,9 @@ public function setGetFoldersByExternalIdResult($_getFoldersByExternalIdResult) * @param array $_array the exported values * @return SessionManagementStructGetFoldersByExternalIdResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersByIdResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersByIdResponse.php index 13d7845..467335e 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersByIdResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersByIdResponse.php @@ -83,9 +83,9 @@ public function setGetFoldersByIdResult($_getFoldersByIdResult) * @param array $_array the exported values * @return SessionManagementStructGetFoldersByIdResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersListResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersListResponse.php index 5525ab5..9deaa4f 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersListResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersListResponse.php @@ -83,9 +83,9 @@ public function setGetFoldersListResult($_getFoldersListResult) * @param array $_array the exported values * @return SessionManagementStructGetFoldersListResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersWithExternalContextByExternalIdResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersWithExternalContextByExternalIdResponse.php index ea33aef..74f54d8 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersWithExternalContextByExternalIdResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersWithExternalContextByExternalIdResponse.php @@ -83,9 +83,9 @@ public function setGetFoldersWithExternalContextByExternalIdResult($_getFoldersW * @param array $_array the exported values * @return SessionManagementStructGetFoldersWithExternalContextByExternalIdResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersWithExternalContextByIdResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersWithExternalContextByIdResponse.php index f89da0a..1ed55f5 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersWithExternalContextByIdResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersWithExternalContextByIdResponse.php @@ -83,9 +83,9 @@ public function setGetFoldersWithExternalContextByIdResult($_getFoldersWithExter * @param array $_array the exported values * @return SessionManagementStructGetFoldersWithExternalContextByIdResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersWithExternalContextListResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersWithExternalContextListResponse.php index 309ae24..0b3cefc 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersWithExternalContextListResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetFoldersWithExternalContextListResponse.php @@ -83,9 +83,9 @@ public function setGetFoldersWithExternalContextListResult($_getFoldersWithExter * @param array $_array the exported values * @return SessionManagementStructGetFoldersWithExternalContextListResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetNoteResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetNoteResponse.php index 121a04f..c291277 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetNoteResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetNoteResponse.php @@ -83,9 +83,9 @@ public function setGetNoteResult($_getNoteResult) * @param array $_array the exported values * @return SessionManagementStructGetNoteResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetPersonalFolderForUserResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetPersonalFolderForUserResponse.php index 69920a3..cfd6239 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetPersonalFolderForUserResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetPersonalFolderForUserResponse.php @@ -83,9 +83,9 @@ public function setGetPersonalFolderForUserResult($_getPersonalFolderForUserResu * @param array $_array the exported values * @return SessionManagementStructGetPersonalFolderForUserResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetRecorderDownloadUrlsResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetRecorderDownloadUrlsResponse.php index 2319e8f..1dec7c9 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetRecorderDownloadUrlsResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetRecorderDownloadUrlsResponse.php @@ -83,9 +83,9 @@ public function setGetRecorderDownloadUrlsResult($_getRecorderDownloadUrlsResult * @param array $_array the exported values * @return SessionManagementStructGetRecorderDownloadUrlsResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsAvailabilitySettingsResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsAvailabilitySettingsResponse.php index 37da92e..440228b 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsAvailabilitySettingsResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsAvailabilitySettingsResponse.php @@ -83,9 +83,9 @@ public function setGetSessionsAvailabilitySettingsResult($_getSessionsAvailabili * @param array $_array the exported values * @return SessionManagementStructGetSessionsAvailabilitySettingsResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsByExternalIdResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsByExternalIdResponse.php index 7358ea5..dc536ea 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsByExternalIdResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsByExternalIdResponse.php @@ -83,9 +83,9 @@ public function setGetSessionsByExternalIdResult($_getSessionsByExternalIdResult * @param array $_array the exported values * @return SessionManagementStructGetSessionsByExternalIdResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsByIdResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsByIdResponse.php index 200a13a..7eeede3 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsByIdResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsByIdResponse.php @@ -83,9 +83,9 @@ public function setGetSessionsByIdResult($_getSessionsByIdResult) * @param array $_array the exported values * @return SessionManagementStructGetSessionsByIdResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsListResponse.php b/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsListResponse.php index ea593e7..9e7f2c2 100644 --- a/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsListResponse.php +++ b/lib/SessionManagement/Get/Response/SessionManagementStructGetSessionsListResponse.php @@ -83,9 +83,9 @@ public function setGetSessionsListResult($_getSessionsListResult) * @param array $_array the exported values * @return SessionManagementStructGetSessionsListResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Settings/SessionManagementStructGetFoldersAvailabilitySettings.php b/lib/SessionManagement/Get/Settings/SessionManagementStructGetFoldersAvailabilitySettings.php index 768bd98..398befe 100644 --- a/lib/SessionManagement/Get/Settings/SessionManagementStructGetFoldersAvailabilitySettings.php +++ b/lib/SessionManagement/Get/Settings/SessionManagementStructGetFoldersAvailabilitySettings.php @@ -109,9 +109,9 @@ public function setFolderIds($_folderIds) * @param array $_array the exported values * @return SessionManagementStructGetFoldersAvailabilitySettings */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/Settings/SessionManagementStructGetSessionsAvailabilitySettings.php b/lib/SessionManagement/Get/Settings/SessionManagementStructGetSessionsAvailabilitySettings.php index a7d8840..7930804 100644 --- a/lib/SessionManagement/Get/Settings/SessionManagementStructGetSessionsAvailabilitySettings.php +++ b/lib/SessionManagement/Get/Settings/SessionManagementStructGetSessionsAvailabilitySettings.php @@ -109,9 +109,9 @@ public function setSessionIds($_sessionIds) * @param array $_array the exported values * @return SessionManagementStructGetSessionsAvailabilitySettings */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Get/User/SessionManagementStructGetPersonalFolderForUser.php b/lib/SessionManagement/Get/User/SessionManagementStructGetPersonalFolderForUser.php index e248836..ba2956b 100644 --- a/lib/SessionManagement/Get/User/SessionManagementStructGetPersonalFolderForUser.php +++ b/lib/SessionManagement/Get/User/SessionManagementStructGetPersonalFolderForUser.php @@ -134,9 +134,9 @@ public function setAllowCreation($_allowCreation) * @param array $_array the exported values * @return SessionManagementStructGetPersonalFolderForUser */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Is/Dropbox/SessionManagementStructIsDropbox.php b/lib/SessionManagement/Is/Dropbox/SessionManagementStructIsDropbox.php index 18e6da8..46f8712 100644 --- a/lib/SessionManagement/Is/Dropbox/SessionManagementStructIsDropbox.php +++ b/lib/SessionManagement/Is/Dropbox/SessionManagementStructIsDropbox.php @@ -109,9 +109,9 @@ public function setFolderId($_folderId) * @param array $_array the exported values * @return SessionManagementStructIsDropbox */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Is/Response/SessionManagementStructIsDropboxResponse.php b/lib/SessionManagement/Is/Response/SessionManagementStructIsDropboxResponse.php index 1aa3190..dcc0079 100644 --- a/lib/SessionManagement/Is/Response/SessionManagementStructIsDropboxResponse.php +++ b/lib/SessionManagement/Is/Response/SessionManagementStructIsDropboxResponse.php @@ -82,9 +82,9 @@ public function setIsDropboxResult($_isDropboxResult) * @param array $_array the exported values * @return SessionManagementStructIsDropboxResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/List/Context/SessionManagementStructListFoldersResponseWithExternalContext.php b/lib/SessionManagement/List/Context/SessionManagementStructListFoldersResponseWithExternalContext.php index 549f9f3..8419d81 100644 --- a/lib/SessionManagement/List/Context/SessionManagementStructListFoldersResponseWithExternalContext.php +++ b/lib/SessionManagement/List/Context/SessionManagementStructListFoldersResponseWithExternalContext.php @@ -108,9 +108,9 @@ public function setTotalNumberResults($_totalNumberResults) * @param array $_array the exported values * @return SessionManagementStructListFoldersResponseWithExternalContext */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/List/Notes/SessionManagementStructListNotes.php b/lib/SessionManagement/List/Notes/SessionManagementStructListNotes.php index d2ec013..730744c 100644 --- a/lib/SessionManagement/List/Notes/SessionManagementStructListNotes.php +++ b/lib/SessionManagement/List/Notes/SessionManagementStructListNotes.php @@ -214,9 +214,9 @@ public function setSearchQuery($_searchQuery) * @param array $_array the exported values * @return SessionManagementStructListNotes */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/List/Request/SessionManagementStructListFoldersRequest.php b/lib/SessionManagement/List/Request/SessionManagementStructListFoldersRequest.php index 92cf8d1..c9cb2e7 100644 --- a/lib/SessionManagement/List/Request/SessionManagementStructListFoldersRequest.php +++ b/lib/SessionManagement/List/Request/SessionManagementStructListFoldersRequest.php @@ -240,9 +240,9 @@ public function setUnmappedOnly($_unmappedOnly) * @param array $_array the exported values * @return SessionManagementStructListFoldersRequest */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/List/Request/SessionManagementStructListSessionsRequest.php b/lib/SessionManagement/List/Request/SessionManagementStructListSessionsRequest.php index 30c878d..2ab18b9 100644 --- a/lib/SessionManagement/List/Request/SessionManagementStructListSessionsRequest.php +++ b/lib/SessionManagement/List/Request/SessionManagementStructListSessionsRequest.php @@ -270,9 +270,9 @@ public function setStates($_states) * @param array $_array the exported values * @return SessionManagementStructListSessionsRequest */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/List/Response/SessionManagementStructListFoldersResponse.php b/lib/SessionManagement/List/Response/SessionManagementStructListFoldersResponse.php index 6289680..2efa09e 100644 --- a/lib/SessionManagement/List/Response/SessionManagementStructListFoldersResponse.php +++ b/lib/SessionManagement/List/Response/SessionManagementStructListFoldersResponse.php @@ -108,9 +108,9 @@ public function setTotalNumberResults($_totalNumberResults) * @param array $_array the exported values * @return SessionManagementStructListFoldersResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/List/Response/SessionManagementStructListNotesResponse.php b/lib/SessionManagement/List/Response/SessionManagementStructListNotesResponse.php index 8e7b7f6..3e54fef 100644 --- a/lib/SessionManagement/List/Response/SessionManagementStructListNotesResponse.php +++ b/lib/SessionManagement/List/Response/SessionManagementStructListNotesResponse.php @@ -135,9 +135,9 @@ public function setListNotesResult($_listNotesResult) * @param array $_array the exported values * @return SessionManagementStructListNotesResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/List/Response/SessionManagementStructListSessionsResponse.php b/lib/SessionManagement/List/Response/SessionManagementStructListSessionsResponse.php index b01e2c8..a4dd125 100644 --- a/lib/SessionManagement/List/Response/SessionManagementStructListSessionsResponse.php +++ b/lib/SessionManagement/List/Response/SessionManagementStructListSessionsResponse.php @@ -108,9 +108,9 @@ public function setTotalNumberResults($_totalNumberResults) * @param array $_array the exported values * @return SessionManagementStructListSessionsResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Move/Sessions/SessionManagementStructMoveSessions.php b/lib/SessionManagement/Move/Sessions/SessionManagementStructMoveSessions.php index 6c8646f..2b0ca26 100644 --- a/lib/SessionManagement/Move/Sessions/SessionManagementStructMoveSessions.php +++ b/lib/SessionManagement/Move/Sessions/SessionManagementStructMoveSessions.php @@ -135,9 +135,9 @@ public function setFolderId($_folderId) * @param array $_array the exported values * @return SessionManagementStructMoveSessions */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Note/SessionManagementStructNote.php b/lib/SessionManagement/Note/SessionManagementStructNote.php index 7e1f258..7cbb080 100644 --- a/lib/SessionManagement/Note/SessionManagementStructNote.php +++ b/lib/SessionManagement/Note/SessionManagementStructNote.php @@ -212,9 +212,9 @@ public function setTimestamp($_timestamp) * @param array $_array the exported values * @return SessionManagementStructNote */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Pagination/SessionManagementStructPagination.php b/lib/SessionManagement/Pagination/SessionManagementStructPagination.php index c22ac13..30a8567 100644 --- a/lib/SessionManagement/Pagination/SessionManagementStructPagination.php +++ b/lib/SessionManagement/Pagination/SessionManagementStructPagination.php @@ -107,9 +107,9 @@ public function setPageNumber($_pageNumber) * @param array $_array the exported values * @return SessionManagementStructPagination */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Provision/Course/SessionManagementStructProvisionExternalCourse.php b/lib/SessionManagement/Provision/Course/SessionManagementStructProvisionExternalCourse.php index d9a4cbc..ebc1094 100644 --- a/lib/SessionManagement/Provision/Course/SessionManagementStructProvisionExternalCourse.php +++ b/lib/SessionManagement/Provision/Course/SessionManagementStructProvisionExternalCourse.php @@ -135,9 +135,9 @@ public function setExternalId($_externalId) * @param array $_array the exported values * @return SessionManagementStructProvisionExternalCourse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Provision/Response/SessionManagementStructProvisionExternalCourseResponse.php b/lib/SessionManagement/Provision/Response/SessionManagementStructProvisionExternalCourseResponse.php index ff58cf9..496355b 100644 --- a/lib/SessionManagement/Provision/Response/SessionManagementStructProvisionExternalCourseResponse.php +++ b/lib/SessionManagement/Provision/Response/SessionManagementStructProvisionExternalCourseResponse.php @@ -83,9 +83,9 @@ public function setProvisionExternalCourseResult($_provisionExternalCourseResult * @param array $_array the exported values * @return SessionManagementStructProvisionExternalCourseResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Provision/Response/SessionManagementStructProvisionExternalCourseWithRolesResponse.php b/lib/SessionManagement/Provision/Response/SessionManagementStructProvisionExternalCourseWithRolesResponse.php index 5a93dc6..d202d7c 100644 --- a/lib/SessionManagement/Provision/Response/SessionManagementStructProvisionExternalCourseWithRolesResponse.php +++ b/lib/SessionManagement/Provision/Response/SessionManagementStructProvisionExternalCourseWithRolesResponse.php @@ -83,9 +83,9 @@ public function setProvisionExternalCourseWithRolesResult($_provisionExternalCou * @param array $_array the exported values * @return SessionManagementStructProvisionExternalCourseWithRolesResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Provision/Roles/SessionManagementStructProvisionExternalCourseWithRoles.php b/lib/SessionManagement/Provision/Roles/SessionManagementStructProvisionExternalCourseWithRoles.php index 0ce8e46..5496427 100644 --- a/lib/SessionManagement/Provision/Roles/SessionManagementStructProvisionExternalCourseWithRoles.php +++ b/lib/SessionManagement/Provision/Roles/SessionManagementStructProvisionExternalCourseWithRoles.php @@ -161,9 +161,9 @@ public function setRoles($_roles) * @param array $_array the exported values * @return SessionManagementStructProvisionExternalCourseWithRoles */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Recorder/Response/SessionManagementStructRecorderDownloadUrlResponse.php b/lib/SessionManagement/Recorder/Response/SessionManagementStructRecorderDownloadUrlResponse.php index 910d9ae..27bc3b2 100644 --- a/lib/SessionManagement/Recorder/Response/SessionManagementStructRecorderDownloadUrlResponse.php +++ b/lib/SessionManagement/Recorder/Response/SessionManagementStructRecorderDownloadUrlResponse.php @@ -135,9 +135,9 @@ public function setWindowsRemoteRecorderDownloadUrl($_windowsRemoteRecorderDownl * @param array $_array the exported values * @return SessionManagementStructRecorderDownloadUrlResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Session/SessionManagementStructSession.php b/lib/SessionManagement/Session/SessionManagementStructSession.php index 2275220..cb30732 100644 --- a/lib/SessionManagement/Session/SessionManagementStructSession.php +++ b/lib/SessionManagement/Session/SessionManagementStructSession.php @@ -657,9 +657,9 @@ public function setViewerUrl($_viewerUrl) * @param array $_array the exported values * @return SessionManagementStructSession */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Session/Settings/SessionManagementStructSessionAvailabilitySettings.php b/lib/SessionManagement/Session/Settings/SessionManagementStructSessionAvailabilitySettings.php index 3668408..a03c023 100644 --- a/lib/SessionManagement/Session/Settings/SessionManagementStructSessionAvailabilitySettings.php +++ b/lib/SessionManagement/Session/Settings/SessionManagementStructSessionAvailabilitySettings.php @@ -195,9 +195,9 @@ public function setStartSettingType($_startSettingType) * @param array $_array the exported values * @return SessionManagementStructSessionAvailabilitySettings */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/SessionManagementWsdlClass.php b/lib/SessionManagement/SessionManagementWsdlClass.php index 910d216..a4fb159 100644 --- a/lib/SessionManagement/SessionManagementWsdlClass.php +++ b/lib/SessionManagement/SessionManagementWsdlClass.php @@ -253,8 +253,9 @@ public function __construct($_arrayOfValues = array(),$_resetSoapClient = true) * @param string $_className optional (used by inherited classes in order to always call this method) * @return SessionManagementWsdlClass|null */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { + $_className = __CLASS__; if(class_exists($_className)) { $object = @new $_className(); diff --git a/lib/SessionManagement/Sessions/Settings/SessionManagementStructSessionsWithAvailabilitySettings.php b/lib/SessionManagement/Sessions/Settings/SessionManagementStructSessionsWithAvailabilitySettings.php index 2db9641..078b6cd 100644 --- a/lib/SessionManagement/Sessions/Settings/SessionManagementStructSessionsWithAvailabilitySettings.php +++ b/lib/SessionManagement/Sessions/Settings/SessionManagementStructSessionsWithAvailabilitySettings.php @@ -108,9 +108,9 @@ public function setTotalNumberResults($_totalNumberResults) * @param array $_array the exported values * @return SessionManagementStructSessionsWithAvailabilitySettings */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Set/Access/SessionManagementStructSetCopiedExternalCourseAccess.php b/lib/SessionManagement/Set/Access/SessionManagementStructSetCopiedExternalCourseAccess.php index 15ed425..0f3ab2d 100644 --- a/lib/SessionManagement/Set/Access/SessionManagementStructSetCopiedExternalCourseAccess.php +++ b/lib/SessionManagement/Set/Access/SessionManagementStructSetCopiedExternalCourseAccess.php @@ -161,9 +161,9 @@ public function setFolderIds($_folderIds) * @param array $_array the exported values * @return SessionManagementStructSetCopiedExternalCourseAccess */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Set/Access/SessionManagementStructSetExternalCourseAccess.php b/lib/SessionManagement/Set/Access/SessionManagementStructSetExternalCourseAccess.php index 3098678..eb908bc 100644 --- a/lib/SessionManagement/Set/Access/SessionManagementStructSetExternalCourseAccess.php +++ b/lib/SessionManagement/Set/Access/SessionManagementStructSetExternalCourseAccess.php @@ -161,9 +161,9 @@ public function setFolderIds($_folderIds) * @param array $_array the exported values * @return SessionManagementStructSetExternalCourseAccess */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Set/Public/SessionManagementStructSetNotesPublic.php b/lib/SessionManagement/Set/Public/SessionManagementStructSetNotesPublic.php index bb83c6f..4497a2e 100644 --- a/lib/SessionManagement/Set/Public/SessionManagementStructSetNotesPublic.php +++ b/lib/SessionManagement/Set/Public/SessionManagementStructSetNotesPublic.php @@ -134,9 +134,9 @@ public function setAreNotesPublic($_areNotesPublic) * @param array $_array the exported values * @return SessionManagementStructSetNotesPublic */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Set/Response/SessionManagementStructSetCopiedExternalCourseAccessForRolesResponse.php b/lib/SessionManagement/Set/Response/SessionManagementStructSetCopiedExternalCourseAccessForRolesResponse.php index 757424b..06050b4 100644 --- a/lib/SessionManagement/Set/Response/SessionManagementStructSetCopiedExternalCourseAccessForRolesResponse.php +++ b/lib/SessionManagement/Set/Response/SessionManagementStructSetCopiedExternalCourseAccessForRolesResponse.php @@ -83,9 +83,9 @@ public function setSetCopiedExternalCourseAccessForRolesResult($_setCopiedExtern * @param array $_array the exported values * @return SessionManagementStructSetCopiedExternalCourseAccessForRolesResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Set/Response/SessionManagementStructSetCopiedExternalCourseAccessResponse.php b/lib/SessionManagement/Set/Response/SessionManagementStructSetCopiedExternalCourseAccessResponse.php index f60ce27..1a060c3 100644 --- a/lib/SessionManagement/Set/Response/SessionManagementStructSetCopiedExternalCourseAccessResponse.php +++ b/lib/SessionManagement/Set/Response/SessionManagementStructSetCopiedExternalCourseAccessResponse.php @@ -83,9 +83,9 @@ public function setSetCopiedExternalCourseAccessResult($_setCopiedExternalCourse * @param array $_array the exported values * @return SessionManagementStructSetCopiedExternalCourseAccessResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Set/Response/SessionManagementStructSetExternalCourseAccessForRolesResponse.php b/lib/SessionManagement/Set/Response/SessionManagementStructSetExternalCourseAccessForRolesResponse.php index a563b1f..31126d0 100644 --- a/lib/SessionManagement/Set/Response/SessionManagementStructSetExternalCourseAccessForRolesResponse.php +++ b/lib/SessionManagement/Set/Response/SessionManagementStructSetExternalCourseAccessForRolesResponse.php @@ -83,9 +83,9 @@ public function setSetExternalCourseAccessForRolesResult($_setExternalCourseAcce * @param array $_array the exported values * @return SessionManagementStructSetExternalCourseAccessForRolesResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Set/Response/SessionManagementStructSetExternalCourseAccessResponse.php b/lib/SessionManagement/Set/Response/SessionManagementStructSetExternalCourseAccessResponse.php index 9bae776..b8af165 100644 --- a/lib/SessionManagement/Set/Response/SessionManagementStructSetExternalCourseAccessResponse.php +++ b/lib/SessionManagement/Set/Response/SessionManagementStructSetExternalCourseAccessResponse.php @@ -83,9 +83,9 @@ public function setSetExternalCourseAccessResult($_setExternalCourseAccessResult * @param array $_array the exported values * @return SessionManagementStructSetExternalCourseAccessResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Set/Roles/SessionManagementStructSetCopiedExternalCourseAccessForRoles.php b/lib/SessionManagement/Set/Roles/SessionManagementStructSetCopiedExternalCourseAccessForRoles.php index ee13f0e..716847d 100644 --- a/lib/SessionManagement/Set/Roles/SessionManagementStructSetCopiedExternalCourseAccessForRoles.php +++ b/lib/SessionManagement/Set/Roles/SessionManagementStructSetCopiedExternalCourseAccessForRoles.php @@ -187,9 +187,9 @@ public function setRoles($_roles) * @param array $_array the exported values * @return SessionManagementStructSetCopiedExternalCourseAccessForRoles */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Set/Roles/SessionManagementStructSetExternalCourseAccessForRoles.php b/lib/SessionManagement/Set/Roles/SessionManagementStructSetExternalCourseAccessForRoles.php index b5b4f85..e28611d 100644 --- a/lib/SessionManagement/Set/Roles/SessionManagementStructSetExternalCourseAccessForRoles.php +++ b/lib/SessionManagement/Set/Roles/SessionManagementStructSetExternalCourseAccessForRoles.php @@ -187,9 +187,9 @@ public function setRoles($_roles) * @param array $_array the exported values * @return SessionManagementStructSetExternalCourseAccessForRoles */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Unprovision/Course/SessionManagementStructUnprovisionExternalCourse.php b/lib/SessionManagement/Unprovision/Course/SessionManagementStructUnprovisionExternalCourse.php index 7c7ab65..3b9cbdb 100644 --- a/lib/SessionManagement/Unprovision/Course/SessionManagementStructUnprovisionExternalCourse.php +++ b/lib/SessionManagement/Unprovision/Course/SessionManagementStructUnprovisionExternalCourse.php @@ -109,9 +109,9 @@ public function setexternalContextId($_externalContextId) * @param array $_array the exported values * @return SessionManagementStructUnprovisionExternalCourse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Broadcast/SessionManagementStructUpdateSessionIsBroadcast.php b/lib/SessionManagement/Update/Broadcast/SessionManagementStructUpdateSessionIsBroadcast.php index b624949..587a028 100644 --- a/lib/SessionManagement/Update/Broadcast/SessionManagementStructUpdateSessionIsBroadcast.php +++ b/lib/SessionManagement/Update/Broadcast/SessionManagementStructUpdateSessionIsBroadcast.php @@ -134,9 +134,9 @@ public function setIsBroadcast($_isBroadcast) * @param array $_array the exported values * @return SessionManagementStructUpdateSessionIsBroadcast */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Description/SessionManagementStructUpdateFolderDescription.php b/lib/SessionManagement/Update/Description/SessionManagementStructUpdateFolderDescription.php index 4f7edda..8e3129e 100644 --- a/lib/SessionManagement/Update/Description/SessionManagementStructUpdateFolderDescription.php +++ b/lib/SessionManagement/Update/Description/SessionManagementStructUpdateFolderDescription.php @@ -135,9 +135,9 @@ public function setDescription($_description) * @param array $_array the exported values * @return SessionManagementStructUpdateFolderDescription */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Description/SessionManagementStructUpdateSessionDescription.php b/lib/SessionManagement/Update/Description/SessionManagementStructUpdateSessionDescription.php index 486b96b..f89dcf0 100644 --- a/lib/SessionManagement/Update/Description/SessionManagementStructUpdateSessionDescription.php +++ b/lib/SessionManagement/Update/Description/SessionManagementStructUpdateSessionDescription.php @@ -135,9 +135,9 @@ public function setDescription($_description) * @param array $_array the exported values * @return SessionManagementStructUpdateSessionDescription */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Download/SessionManagementStructUpdateFolderAllowSessionDownload.php b/lib/SessionManagement/Update/Download/SessionManagementStructUpdateFolderAllowSessionDownload.php index 06bcd13..c6002f4 100644 --- a/lib/SessionManagement/Update/Download/SessionManagementStructUpdateFolderAllowSessionDownload.php +++ b/lib/SessionManagement/Update/Download/SessionManagementStructUpdateFolderAllowSessionDownload.php @@ -134,9 +134,9 @@ public function setAllowSessionDownload($_allowSessionDownload) * @param array $_array the exported values * @return SessionManagementStructUpdateFolderAllowSessionDownload */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Id/SessionManagementStructUpdateFolderExternalId.php b/lib/SessionManagement/Update/Id/SessionManagementStructUpdateFolderExternalId.php index 1a33100..5eb8659 100644 --- a/lib/SessionManagement/Update/Id/SessionManagementStructUpdateFolderExternalId.php +++ b/lib/SessionManagement/Update/Id/SessionManagementStructUpdateFolderExternalId.php @@ -135,9 +135,9 @@ public function setExternalId($_externalId) * @param array $_array the exported values * @return SessionManagementStructUpdateFolderExternalId */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Id/SessionManagementStructUpdateSessionExternalId.php b/lib/SessionManagement/Update/Id/SessionManagementStructUpdateSessionExternalId.php index 9c124b0..fd0ebf6 100644 --- a/lib/SessionManagement/Update/Id/SessionManagementStructUpdateSessionExternalId.php +++ b/lib/SessionManagement/Update/Id/SessionManagementStructUpdateSessionExternalId.php @@ -135,9 +135,9 @@ public function setExternalId($_externalId) * @param array $_array the exported values * @return SessionManagementStructUpdateSessionExternalId */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Name/SessionManagementStructUpdateFolderName.php b/lib/SessionManagement/Update/Name/SessionManagementStructUpdateFolderName.php index 6cbbbd5..9baeb18 100644 --- a/lib/SessionManagement/Update/Name/SessionManagementStructUpdateFolderName.php +++ b/lib/SessionManagement/Update/Name/SessionManagementStructUpdateFolderName.php @@ -135,9 +135,9 @@ public function setName($_name) * @param array $_array the exported values * @return SessionManagementStructUpdateFolderName */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Name/SessionManagementStructUpdateSessionName.php b/lib/SessionManagement/Update/Name/SessionManagementStructUpdateSessionName.php index c61e2ef..72c14b4 100644 --- a/lib/SessionManagement/Update/Name/SessionManagementStructUpdateSessionName.php +++ b/lib/SessionManagement/Update/Name/SessionManagementStructUpdateSessionName.php @@ -135,9 +135,9 @@ public function setName($_name) * @param array $_array the exported values * @return SessionManagementStructUpdateSessionName */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Notes/SessionManagementStructUpdateFolderAllowPublicNotes.php b/lib/SessionManagement/Update/Notes/SessionManagementStructUpdateFolderAllowPublicNotes.php index 4012a45..3549a02 100644 --- a/lib/SessionManagement/Update/Notes/SessionManagementStructUpdateFolderAllowPublicNotes.php +++ b/lib/SessionManagement/Update/Notes/SessionManagementStructUpdateFolderAllowPublicNotes.php @@ -134,9 +134,9 @@ public function setAllowPublicNotes($_allowPublicNotes) * @param array $_array the exported values * @return SessionManagementStructUpdateFolderAllowPublicNotes */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Owner/SessionManagementStructUpdateSessionOwner.php b/lib/SessionManagement/Update/Owner/SessionManagementStructUpdateSessionOwner.php index 60eb7e5..92afc21 100644 --- a/lib/SessionManagement/Update/Owner/SessionManagementStructUpdateSessionOwner.php +++ b/lib/SessionManagement/Update/Owner/SessionManagementStructUpdateSessionOwner.php @@ -135,9 +135,9 @@ public function setNewOwnerUserKey($_newOwnerUserKey) * @param array $_array the exported values * @return SessionManagementStructUpdateSessionOwner */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Parent/SessionManagementStructUpdateFolderParent.php b/lib/SessionManagement/Update/Parent/SessionManagementStructUpdateFolderParent.php index 5e45728..c89e22e 100644 --- a/lib/SessionManagement/Update/Parent/SessionManagementStructUpdateFolderParent.php +++ b/lib/SessionManagement/Update/Parent/SessionManagementStructUpdateFolderParent.php @@ -136,9 +136,9 @@ public function setParentId($_parentId) * @param array $_array the exported values * @return SessionManagementStructUpdateFolderParent */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Podcast/SessionManagementStructUpdateFolderEnablePodcast.php b/lib/SessionManagement/Update/Podcast/SessionManagementStructUpdateFolderEnablePodcast.php index f4ee7fa..31d4bb9 100644 --- a/lib/SessionManagement/Update/Podcast/SessionManagementStructUpdateFolderEnablePodcast.php +++ b/lib/SessionManagement/Update/Podcast/SessionManagementStructUpdateFolderEnablePodcast.php @@ -134,9 +134,9 @@ public function setEnablePodcast($_enablePodcast) * @param array $_array the exported values * @return SessionManagementStructUpdateFolderEnablePodcast */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Provider/SessionManagementStructUpdateFolderExternalIdWithProvider.php b/lib/SessionManagement/Update/Provider/SessionManagementStructUpdateFolderExternalIdWithProvider.php index 9ce654f..983ce6b 100644 --- a/lib/SessionManagement/Update/Provider/SessionManagementStructUpdateFolderExternalIdWithProvider.php +++ b/lib/SessionManagement/Update/Provider/SessionManagementStructUpdateFolderExternalIdWithProvider.php @@ -161,9 +161,9 @@ public function setSiteMembershipProviderName($_siteMembershipProviderName) * @param array $_array the exported values * @return SessionManagementStructUpdateFolderExternalIdWithProvider */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Response/SessionManagementStructUpdateFoldersAvailabilityEndSettingsResponse.php b/lib/SessionManagement/Update/Response/SessionManagementStructUpdateFoldersAvailabilityEndSettingsResponse.php index e741838..322247f 100644 --- a/lib/SessionManagement/Update/Response/SessionManagementStructUpdateFoldersAvailabilityEndSettingsResponse.php +++ b/lib/SessionManagement/Update/Response/SessionManagementStructUpdateFoldersAvailabilityEndSettingsResponse.php @@ -82,9 +82,9 @@ public function setUpdateFoldersAvailabilityEndSettingsResult($_updateFoldersAva * @param array $_array the exported values * @return SessionManagementStructUpdateFoldersAvailabilityEndSettingsResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Response/SessionManagementStructUpdateFoldersAvailabilityStartSettingsResponse.php b/lib/SessionManagement/Update/Response/SessionManagementStructUpdateFoldersAvailabilityStartSettingsResponse.php index d512dec..a82b93e 100644 --- a/lib/SessionManagement/Update/Response/SessionManagementStructUpdateFoldersAvailabilityStartSettingsResponse.php +++ b/lib/SessionManagement/Update/Response/SessionManagementStructUpdateFoldersAvailabilityStartSettingsResponse.php @@ -82,9 +82,9 @@ public function setUpdateFoldersAvailabilityStartSettingsResult($_updateFoldersA * @param array $_array the exported values * @return SessionManagementStructUpdateFoldersAvailabilityStartSettingsResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Response/SessionManagementStructUpdateSessionsAvailabilityEndSettingsResponse.php b/lib/SessionManagement/Update/Response/SessionManagementStructUpdateSessionsAvailabilityEndSettingsResponse.php index 638d7f2..7731087 100644 --- a/lib/SessionManagement/Update/Response/SessionManagementStructUpdateSessionsAvailabilityEndSettingsResponse.php +++ b/lib/SessionManagement/Update/Response/SessionManagementStructUpdateSessionsAvailabilityEndSettingsResponse.php @@ -82,9 +82,9 @@ public function setUpdateSessionsAvailabilityEndSettingsResult($_updateSessionsA * @param array $_array the exported values * @return SessionManagementStructUpdateSessionsAvailabilityEndSettingsResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Response/SessionManagementStructUpdateSessionsAvailabilityStartSettingsResponse.php b/lib/SessionManagement/Update/Response/SessionManagementStructUpdateSessionsAvailabilityStartSettingsResponse.php index 7089c5f..b6bd04f 100644 --- a/lib/SessionManagement/Update/Response/SessionManagementStructUpdateSessionsAvailabilityStartSettingsResponse.php +++ b/lib/SessionManagement/Update/Response/SessionManagementStructUpdateSessionsAvailabilityStartSettingsResponse.php @@ -82,9 +82,9 @@ public function setUpdateSessionsAvailabilityStartSettingsResult($_updateSession * @param array $_array the exported values * @return SessionManagementStructUpdateSessionsAvailabilityStartSettingsResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateFoldersAvailabilityEndSettings.php b/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateFoldersAvailabilityEndSettings.php index 2c23ab0..6b7048f 100644 --- a/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateFoldersAvailabilityEndSettings.php +++ b/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateFoldersAvailabilityEndSettings.php @@ -190,9 +190,9 @@ public function setOverrideSessionsSettings($_overrideSessionsSettings) * @param array $_array the exported values * @return SessionManagementStructUpdateFoldersAvailabilityEndSettings */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateFoldersAvailabilityStartSettings.php b/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateFoldersAvailabilityStartSettings.php index 1dbda73..5080d03 100644 --- a/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateFoldersAvailabilityStartSettings.php +++ b/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateFoldersAvailabilityStartSettings.php @@ -190,9 +190,9 @@ public function setOverrideSessionsSettings($_overrideSessionsSettings) * @param array $_array the exported values * @return SessionManagementStructUpdateFoldersAvailabilityStartSettings */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateSessionsAvailabilityEndSettings.php b/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateSessionsAvailabilityEndSettings.php index 0c243b3..715601b 100644 --- a/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateSessionsAvailabilityEndSettings.php +++ b/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateSessionsAvailabilityEndSettings.php @@ -165,9 +165,9 @@ public function setEndDate($_endDate) * @param array $_array the exported values * @return SessionManagementStructUpdateSessionsAvailabilityEndSettings */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateSessionsAvailabilityStartSettings.php b/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateSessionsAvailabilityStartSettings.php index cb03ce2..966d278 100644 --- a/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateSessionsAvailabilityStartSettings.php +++ b/lib/SessionManagement/Update/Settings/SessionManagementStructUpdateSessionsAvailabilityStartSettings.php @@ -165,9 +165,9 @@ public function setStartDate($_startDate) * @param array $_array the exported values * @return SessionManagementStructUpdateSessionsAvailabilityStartSettings */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/SessionManagement/Upload/Transcript/SessionManagementStructUploadTranscript.php b/lib/SessionManagement/Upload/Transcript/SessionManagementStructUploadTranscript.php index 7e0519b..a93423f 100644 --- a/lib/SessionManagement/Upload/Transcript/SessionManagementStructUploadTranscript.php +++ b/lib/SessionManagement/Upload/Transcript/SessionManagementStructUploadTranscript.php @@ -135,9 +135,9 @@ public function setFile($_file) * @param array $_array the exported values * @return SessionManagementStructUploadTranscript */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Add/Group/UserManagementStructAddMembersToExternalGroup.php b/lib/UserManagement/Add/Group/UserManagementStructAddMembersToExternalGroup.php index 7486413..d3e3ecf 100644 --- a/lib/UserManagement/Add/Group/UserManagementStructAddMembersToExternalGroup.php +++ b/lib/UserManagement/Add/Group/UserManagementStructAddMembersToExternalGroup.php @@ -161,9 +161,9 @@ public function setMemberIds($_memberIds) * @param array $_array the exported values * @return UserManagementStructAddMembersToExternalGroup */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Add/Group/UserManagementStructAddMembersToInternalGroup.php b/lib/UserManagement/Add/Group/UserManagementStructAddMembersToInternalGroup.php index ef85169..436e8be 100644 --- a/lib/UserManagement/Add/Group/UserManagementStructAddMembersToInternalGroup.php +++ b/lib/UserManagement/Add/Group/UserManagementStructAddMembersToInternalGroup.php @@ -135,9 +135,9 @@ public function setMemberIds($_memberIds) * @param array $_array the exported values * @return UserManagementStructAddMembersToInternalGroup */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Array/Group/UserManagementStructArrayOfGroup.php b/lib/UserManagement/Array/Group/UserManagementStructArrayOfGroup.php index 6dd1c6f..4cf144e 100644 --- a/lib/UserManagement/Array/Group/UserManagementStructArrayOfGroup.php +++ b/lib/UserManagement/Array/Group/UserManagementStructArrayOfGroup.php @@ -140,9 +140,9 @@ public function getAttributeName() * @param array $_array the exported values * @return UserManagementStructArrayOfGroup */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Array/Ofguid/UserManagementStructArrayOfguid.php b/lib/UserManagement/Array/Ofguid/UserManagementStructArrayOfguid.php index 6c09bd5..a3db0ff 100644 --- a/lib/UserManagement/Array/Ofguid/UserManagementStructArrayOfguid.php +++ b/lib/UserManagement/Array/Ofguid/UserManagementStructArrayOfguid.php @@ -140,9 +140,9 @@ public function getAttributeName() * @param array $_array the exported values * @return UserManagementStructArrayOfguid */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Array/Ofstring/UserManagementStructArrayOfstring.php b/lib/UserManagement/Array/Ofstring/UserManagementStructArrayOfstring.php index df4d53e..07d621c 100644 --- a/lib/UserManagement/Array/Ofstring/UserManagementStructArrayOfstring.php +++ b/lib/UserManagement/Array/Ofstring/UserManagementStructArrayOfstring.php @@ -140,9 +140,9 @@ public function getAttributeName() * @param array $_array the exported values * @return UserManagementStructArrayOfstring */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Array/User/UserManagementStructArrayOfUser.php b/lib/UserManagement/Array/User/UserManagementStructArrayOfUser.php index 5cfadb8..6a1e345 100644 --- a/lib/UserManagement/Array/User/UserManagementStructArrayOfUser.php +++ b/lib/UserManagement/Array/User/UserManagementStructArrayOfUser.php @@ -140,9 +140,9 @@ public function getAttributeName() * @param array $_array the exported values * @return UserManagementStructArrayOfUser */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Authentication/Info/UserManagementStructAuthenticationInfo.php b/lib/UserManagement/Authentication/Info/UserManagementStructAuthenticationInfo.php index fd68639..13e3604 100644 --- a/lib/UserManagement/Authentication/Info/UserManagementStructAuthenticationInfo.php +++ b/lib/UserManagement/Authentication/Info/UserManagementStructAuthenticationInfo.php @@ -135,9 +135,9 @@ public function setUserKey($_userKey) * @param array $_array the exported values * @return UserManagementStructAuthenticationInfo */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Create/Group/UserManagementStructCreateExternalGroup.php b/lib/UserManagement/Create/Group/UserManagementStructCreateExternalGroup.php index 85acb92..0c47484 100644 --- a/lib/UserManagement/Create/Group/UserManagementStructCreateExternalGroup.php +++ b/lib/UserManagement/Create/Group/UserManagementStructCreateExternalGroup.php @@ -187,9 +187,9 @@ public function setMemberIds($_memberIds) * @param array $_array the exported values * @return UserManagementStructCreateExternalGroup */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Create/Group/UserManagementStructCreateInternalGroup.php b/lib/UserManagement/Create/Group/UserManagementStructCreateInternalGroup.php index d5882df..01fddf2 100644 --- a/lib/UserManagement/Create/Group/UserManagementStructCreateInternalGroup.php +++ b/lib/UserManagement/Create/Group/UserManagementStructCreateInternalGroup.php @@ -135,9 +135,9 @@ public function setMemberIds($_memberIds) * @param array $_array the exported values * @return UserManagementStructCreateInternalGroup */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Create/Response/UserManagementStructCreateExternalGroupResponse.php b/lib/UserManagement/Create/Response/UserManagementStructCreateExternalGroupResponse.php index 762f352..3aa5267 100644 --- a/lib/UserManagement/Create/Response/UserManagementStructCreateExternalGroupResponse.php +++ b/lib/UserManagement/Create/Response/UserManagementStructCreateExternalGroupResponse.php @@ -83,9 +83,9 @@ public function setCreateExternalGroupResult($_createExternalGroupResult) * @param array $_array the exported values * @return UserManagementStructCreateExternalGroupResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Create/Response/UserManagementStructCreateInternalGroupResponse.php b/lib/UserManagement/Create/Response/UserManagementStructCreateInternalGroupResponse.php index 6987ae8..d0c12a1 100644 --- a/lib/UserManagement/Create/Response/UserManagementStructCreateInternalGroupResponse.php +++ b/lib/UserManagement/Create/Response/UserManagementStructCreateInternalGroupResponse.php @@ -83,9 +83,9 @@ public function setCreateInternalGroupResult($_createInternalGroupResult) * @param array $_array the exported values * @return UserManagementStructCreateInternalGroupResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Create/Response/UserManagementStructCreateUserResponse.php b/lib/UserManagement/Create/Response/UserManagementStructCreateUserResponse.php index d7962b6..3b72e25 100644 --- a/lib/UserManagement/Create/Response/UserManagementStructCreateUserResponse.php +++ b/lib/UserManagement/Create/Response/UserManagementStructCreateUserResponse.php @@ -83,9 +83,9 @@ public function setCreateUserResult($_createUserResult) * @param array $_array the exported values * @return UserManagementStructCreateUserResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Create/Response/UserManagementStructCreateUsersResponse.php b/lib/UserManagement/Create/Response/UserManagementStructCreateUsersResponse.php index 344a583..49b14e2 100644 --- a/lib/UserManagement/Create/Response/UserManagementStructCreateUsersResponse.php +++ b/lib/UserManagement/Create/Response/UserManagementStructCreateUsersResponse.php @@ -83,9 +83,9 @@ public function setCreateUsersResult($_createUsersResult) * @param array $_array the exported values * @return UserManagementStructCreateUsersResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Create/User/UserManagementStructCreateUser.php b/lib/UserManagement/Create/User/UserManagementStructCreateUser.php index 7003634..1d52346 100644 --- a/lib/UserManagement/Create/User/UserManagementStructCreateUser.php +++ b/lib/UserManagement/Create/User/UserManagementStructCreateUser.php @@ -135,9 +135,9 @@ public function setInitialPassword($_initialPassword) * @param array $_array the exported values * @return UserManagementStructCreateUser */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Create/Users/UserManagementStructCreateUsers.php b/lib/UserManagement/Create/Users/UserManagementStructCreateUsers.php index 21ecd19..3bad320 100644 --- a/lib/UserManagement/Create/Users/UserManagementStructCreateUsers.php +++ b/lib/UserManagement/Create/Users/UserManagementStructCreateUsers.php @@ -109,9 +109,9 @@ public function setUsers($_users) * @param array $_array the exported values * @return UserManagementStructCreateUsers */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Delete/Group/UserManagementStructDeleteGroup.php b/lib/UserManagement/Delete/Group/UserManagementStructDeleteGroup.php index df5cabc..b290074 100644 --- a/lib/UserManagement/Delete/Group/UserManagementStructDeleteGroup.php +++ b/lib/UserManagement/Delete/Group/UserManagementStructDeleteGroup.php @@ -109,9 +109,9 @@ public function setGroupId($_groupId) * @param array $_array the exported values * @return UserManagementStructDeleteGroup */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Delete/Users/UserManagementStructDeleteUsers.php b/lib/UserManagement/Delete/Users/UserManagementStructDeleteUsers.php index cfc8665..d35e3a1 100644 --- a/lib/UserManagement/Delete/Users/UserManagementStructDeleteUsers.php +++ b/lib/UserManagement/Delete/Users/UserManagementStructDeleteUsers.php @@ -109,9 +109,9 @@ public function setUserIds($_userIds) * @param array $_array the exported values * @return UserManagementStructDeleteUsers */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Get/Group/UserManagementStructGetGroup.php b/lib/UserManagement/Get/Group/UserManagementStructGetGroup.php index 3c4ed42..d7580a5 100644 --- a/lib/UserManagement/Get/Group/UserManagementStructGetGroup.php +++ b/lib/UserManagement/Get/Group/UserManagementStructGetGroup.php @@ -109,9 +109,9 @@ public function setGroupId($_groupId) * @param array $_array the exported values * @return UserManagementStructGetGroup */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Get/Group/UserManagementStructGetUsersInGroup.php b/lib/UserManagement/Get/Group/UserManagementStructGetUsersInGroup.php index 4351433..e04de0c 100644 --- a/lib/UserManagement/Get/Group/UserManagementStructGetUsersInGroup.php +++ b/lib/UserManagement/Get/Group/UserManagementStructGetUsersInGroup.php @@ -109,9 +109,9 @@ public function setGroupId($_groupId) * @param array $_array the exported values * @return UserManagementStructGetUsersInGroup */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Get/Key/UserManagementStructGetUserByKey.php b/lib/UserManagement/Get/Key/UserManagementStructGetUserByKey.php index 2ec368e..20af762 100644 --- a/lib/UserManagement/Get/Key/UserManagementStructGetUserByKey.php +++ b/lib/UserManagement/Get/Key/UserManagementStructGetUserByKey.php @@ -109,9 +109,9 @@ public function setUserKey($_userKey) * @param array $_array the exported values * @return UserManagementStructGetUserByKey */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Get/Name/UserManagementStructGetGroupsByName.php b/lib/UserManagement/Get/Name/UserManagementStructGetGroupsByName.php index 89a949a..f3f5c0b 100644 --- a/lib/UserManagement/Get/Name/UserManagementStructGetGroupsByName.php +++ b/lib/UserManagement/Get/Name/UserManagementStructGetGroupsByName.php @@ -109,9 +109,9 @@ public function setGroupName($_groupName) * @param array $_array the exported values * @return UserManagementStructGetGroupsByName */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Get/Public/UserManagementStructGetGroupIsPublic.php b/lib/UserManagement/Get/Public/UserManagementStructGetGroupIsPublic.php index 2e44cee..5a79f4b 100644 --- a/lib/UserManagement/Get/Public/UserManagementStructGetGroupIsPublic.php +++ b/lib/UserManagement/Get/Public/UserManagementStructGetGroupIsPublic.php @@ -109,9 +109,9 @@ public function setGroupId($_groupId) * @param array $_array the exported values * @return UserManagementStructGetGroupIsPublic */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Get/Response/UserManagementStructGetGroupIsPublicResponse.php b/lib/UserManagement/Get/Response/UserManagementStructGetGroupIsPublicResponse.php index 2685713..9eee87e 100644 --- a/lib/UserManagement/Get/Response/UserManagementStructGetGroupIsPublicResponse.php +++ b/lib/UserManagement/Get/Response/UserManagementStructGetGroupIsPublicResponse.php @@ -82,9 +82,9 @@ public function setGetGroupIsPublicResult($_getGroupIsPublicResult) * @param array $_array the exported values * @return UserManagementStructGetGroupIsPublicResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Get/Response/UserManagementStructGetGroupResponse.php b/lib/UserManagement/Get/Response/UserManagementStructGetGroupResponse.php index d60b70d..0f2f017 100644 --- a/lib/UserManagement/Get/Response/UserManagementStructGetGroupResponse.php +++ b/lib/UserManagement/Get/Response/UserManagementStructGetGroupResponse.php @@ -83,9 +83,9 @@ public function setGetGroupResult($_getGroupResult) * @param array $_array the exported values * @return UserManagementStructGetGroupResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Get/Response/UserManagementStructGetGroupsByNameResponse.php b/lib/UserManagement/Get/Response/UserManagementStructGetGroupsByNameResponse.php index cc6f5d9..cc536b9 100644 --- a/lib/UserManagement/Get/Response/UserManagementStructGetGroupsByNameResponse.php +++ b/lib/UserManagement/Get/Response/UserManagementStructGetGroupsByNameResponse.php @@ -83,9 +83,9 @@ public function setGetGroupsByNameResult($_getGroupsByNameResult) * @param array $_array the exported values * @return UserManagementStructGetGroupsByNameResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Get/Response/UserManagementStructGetUserByKeyResponse.php b/lib/UserManagement/Get/Response/UserManagementStructGetUserByKeyResponse.php index 63276fe..3abe31f 100644 --- a/lib/UserManagement/Get/Response/UserManagementStructGetUserByKeyResponse.php +++ b/lib/UserManagement/Get/Response/UserManagementStructGetUserByKeyResponse.php @@ -83,9 +83,9 @@ public function setGetUserByKeyResult($_getUserByKeyResult) * @param array $_array the exported values * @return UserManagementStructGetUserByKeyResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Get/Response/UserManagementStructGetUsersInGroupResponse.php b/lib/UserManagement/Get/Response/UserManagementStructGetUsersInGroupResponse.php index 72a653d..945bdbf 100644 --- a/lib/UserManagement/Get/Response/UserManagementStructGetUsersInGroupResponse.php +++ b/lib/UserManagement/Get/Response/UserManagementStructGetUsersInGroupResponse.php @@ -83,9 +83,9 @@ public function setGetUsersInGroupResult($_getUsersInGroupResult) * @param array $_array the exported values * @return UserManagementStructGetUsersInGroupResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Get/Response/UserManagementStructGetUsersResponse.php b/lib/UserManagement/Get/Response/UserManagementStructGetUsersResponse.php index 9591003..47cdd90 100644 --- a/lib/UserManagement/Get/Response/UserManagementStructGetUsersResponse.php +++ b/lib/UserManagement/Get/Response/UserManagementStructGetUsersResponse.php @@ -83,9 +83,9 @@ public function setGetUsersResult($_getUsersResult) * @param array $_array the exported values * @return UserManagementStructGetUsersResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Get/Users/UserManagementStructGetUsers.php b/lib/UserManagement/Get/Users/UserManagementStructGetUsers.php index e99c8ed..3a599b0 100644 --- a/lib/UserManagement/Get/Users/UserManagementStructGetUsers.php +++ b/lib/UserManagement/Get/Users/UserManagementStructGetUsers.php @@ -109,9 +109,9 @@ public function setUserIds($_userIds) * @param array $_array the exported values * @return UserManagementStructGetUsers */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Group/UserManagementStructGroup.php b/lib/UserManagement/Group/UserManagementStructGroup.php index d88fcd9..299d40c 100644 --- a/lib/UserManagement/Group/UserManagementStructGroup.php +++ b/lib/UserManagement/Group/UserManagementStructGroup.php @@ -221,9 +221,9 @@ public function setSystemRole($_systemRole) * @param array $_array the exported values * @return UserManagementStructGroup */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/List/Groups/UserManagementStructListGroups.php b/lib/UserManagement/List/Groups/UserManagementStructListGroups.php index a810868..5638214 100644 --- a/lib/UserManagement/List/Groups/UserManagementStructListGroups.php +++ b/lib/UserManagement/List/Groups/UserManagementStructListGroups.php @@ -109,9 +109,9 @@ public function setPagination($_pagination) * @param array $_array the exported values * @return UserManagementStructListGroups */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/List/Request/UserManagementStructListUsersRequest.php b/lib/UserManagement/List/Request/UserManagementStructListUsersRequest.php index 7b55ce1..4ad9320 100644 --- a/lib/UserManagement/List/Request/UserManagementStructListUsersRequest.php +++ b/lib/UserManagement/List/Request/UserManagementStructListUsersRequest.php @@ -138,9 +138,9 @@ public function setSortIncreasing($_sortIncreasing) * @param array $_array the exported values * @return UserManagementStructListUsersRequest */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/List/Response/UserManagementStructListGroupsResponse.php b/lib/UserManagement/List/Response/UserManagementStructListGroupsResponse.php index 27a3eba..577a0fe 100644 --- a/lib/UserManagement/List/Response/UserManagementStructListGroupsResponse.php +++ b/lib/UserManagement/List/Response/UserManagementStructListGroupsResponse.php @@ -135,9 +135,9 @@ public function setListGroupsResult($_listGroupsResult) * @param array $_array the exported values * @return UserManagementStructListGroupsResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/List/Response/UserManagementStructListUsersResponse.php b/lib/UserManagement/List/Response/UserManagementStructListUsersResponse.php index c454971..645c5b1 100644 --- a/lib/UserManagement/List/Response/UserManagementStructListUsersResponse.php +++ b/lib/UserManagement/List/Response/UserManagementStructListUsersResponse.php @@ -135,9 +135,9 @@ public function setListUsersResult($_listUsersResult) * @param array $_array the exported values * @return UserManagementStructListUsersResponse */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/List/Users/UserManagementStructListUsers.php b/lib/UserManagement/List/Users/UserManagementStructListUsers.php index cebd387..d03677b 100644 --- a/lib/UserManagement/List/Users/UserManagementStructListUsers.php +++ b/lib/UserManagement/List/Users/UserManagementStructListUsers.php @@ -135,9 +135,9 @@ public function setSearchQuery($_searchQuery) * @param array $_array the exported values * @return UserManagementStructListUsers */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Pagination/UserManagementStructPagination.php b/lib/UserManagement/Pagination/UserManagementStructPagination.php index 953c477..cca8531 100644 --- a/lib/UserManagement/Pagination/UserManagementStructPagination.php +++ b/lib/UserManagement/Pagination/UserManagementStructPagination.php @@ -107,9 +107,9 @@ public function setPageNumber($_pageNumber) * @param array $_array the exported values * @return UserManagementStructPagination */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Remove/Group/UserManagementStructRemoveMembersFromExternalGroup.php b/lib/UserManagement/Remove/Group/UserManagementStructRemoveMembersFromExternalGroup.php index bf34360..449b035 100644 --- a/lib/UserManagement/Remove/Group/UserManagementStructRemoveMembersFromExternalGroup.php +++ b/lib/UserManagement/Remove/Group/UserManagementStructRemoveMembersFromExternalGroup.php @@ -161,9 +161,9 @@ public function setMemberIds($_memberIds) * @param array $_array the exported values * @return UserManagementStructRemoveMembersFromExternalGroup */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Remove/Group/UserManagementStructRemoveMembersFromInternalGroup.php b/lib/UserManagement/Remove/Group/UserManagementStructRemoveMembersFromInternalGroup.php index 9d5cb24..76878d8 100644 --- a/lib/UserManagement/Remove/Group/UserManagementStructRemoveMembersFromInternalGroup.php +++ b/lib/UserManagement/Remove/Group/UserManagementStructRemoveMembersFromInternalGroup.php @@ -135,9 +135,9 @@ public function setMemberIds($_memberIds) * @param array $_array the exported values * @return UserManagementStructRemoveMembersFromInternalGroup */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Reset/Password/UserManagementStructResetPassword.php b/lib/UserManagement/Reset/Password/UserManagementStructResetPassword.php index c2c3738..3f5ab76 100644 --- a/lib/UserManagement/Reset/Password/UserManagementStructResetPassword.php +++ b/lib/UserManagement/Reset/Password/UserManagementStructResetPassword.php @@ -109,9 +109,9 @@ public function setUserId($_userId) * @param array $_array the exported values * @return UserManagementStructResetPassword */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Set/Public/UserManagementStructSetGroupIsPublic.php b/lib/UserManagement/Set/Public/UserManagementStructSetGroupIsPublic.php index 53615a1..ad96915 100644 --- a/lib/UserManagement/Set/Public/UserManagementStructSetGroupIsPublic.php +++ b/lib/UserManagement/Set/Public/UserManagementStructSetGroupIsPublic.php @@ -134,9 +134,9 @@ public function setIsPublic($_isPublic) * @param array $_array the exported values * @return UserManagementStructSetGroupIsPublic */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Set/Role/UserManagementStructSetSystemRole.php b/lib/UserManagement/Set/Role/UserManagementStructSetSystemRole.php index 5eaa5ac..044c041 100644 --- a/lib/UserManagement/Set/Role/UserManagementStructSetSystemRole.php +++ b/lib/UserManagement/Set/Role/UserManagementStructSetSystemRole.php @@ -139,9 +139,9 @@ public function setRole($_role) * @param array $_array the exported values * @return UserManagementStructSetSystemRole */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Sync/User/UserManagementStructSyncExternalUser.php b/lib/UserManagement/Sync/User/UserManagementStructSyncExternalUser.php index c6cec90..12eedc5 100644 --- a/lib/UserManagement/Sync/User/UserManagementStructSyncExternalUser.php +++ b/lib/UserManagement/Sync/User/UserManagementStructSyncExternalUser.php @@ -212,9 +212,9 @@ public function setExternalGroupIds($_externalGroupIds) * @param array $_array the exported values * @return UserManagementStructSyncExternalUser */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Unlock/Account/UserManagementStructUnlockAccount.php b/lib/UserManagement/Unlock/Account/UserManagementStructUnlockAccount.php index 24b8da1..4be20e6 100644 --- a/lib/UserManagement/Unlock/Account/UserManagementStructUnlockAccount.php +++ b/lib/UserManagement/Unlock/Account/UserManagementStructUnlockAccount.php @@ -109,9 +109,9 @@ public function setUserId($_userId) * @param array $_array the exported values * @return UserManagementStructUnlockAccount */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Update/Bio/UserManagementStructUpdateUserBio.php b/lib/UserManagement/Update/Bio/UserManagementStructUpdateUserBio.php index f62eed2..212a96f 100644 --- a/lib/UserManagement/Update/Bio/UserManagementStructUpdateUserBio.php +++ b/lib/UserManagement/Update/Bio/UserManagementStructUpdateUserBio.php @@ -135,9 +135,9 @@ public function setBio($_bio) * @param array $_array the exported values * @return UserManagementStructUpdateUserBio */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Update/Info/UserManagementStructUpdateContactInfo.php b/lib/UserManagement/Update/Info/UserManagementStructUpdateContactInfo.php index 919950d..6f5a80a 100644 --- a/lib/UserManagement/Update/Info/UserManagementStructUpdateContactInfo.php +++ b/lib/UserManagement/Update/Info/UserManagementStructUpdateContactInfo.php @@ -212,9 +212,9 @@ public function setSendNotifications($_sendNotifications) * @param array $_array the exported values * @return UserManagementStructUpdateContactInfo */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/Update/Password/UserManagementStructUpdatePassword.php b/lib/UserManagement/Update/Password/UserManagementStructUpdatePassword.php index 00e9bd6..150d4ee 100644 --- a/lib/UserManagement/Update/Password/UserManagementStructUpdatePassword.php +++ b/lib/UserManagement/Update/Password/UserManagementStructUpdatePassword.php @@ -135,9 +135,9 @@ public function setNewPassword($_newPassword) * @param array $_array the exported values * @return UserManagementStructUpdatePassword */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/User/UserManagementStructUser.php b/lib/UserManagement/User/UserManagementStructUser.php index 7212b62..5740a6f 100644 --- a/lib/UserManagement/User/UserManagementStructUser.php +++ b/lib/UserManagement/User/UserManagementStructUser.php @@ -320,9 +320,9 @@ public function setUserSettingsUrl($_userSettingsUrl) * @param array $_array the exported values * @return UserManagementStructUser */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { - return parent::__set_state($_array,$_className); + return parent::__set_state($_array); } /** * Method returning the class name diff --git a/lib/UserManagement/UserManagementWsdlClass.php b/lib/UserManagement/UserManagementWsdlClass.php index ef4372a..9e42ee0 100644 --- a/lib/UserManagement/UserManagementWsdlClass.php +++ b/lib/UserManagement/UserManagementWsdlClass.php @@ -249,8 +249,9 @@ public function __construct($_arrayOfValues = array(),$_resetSoapClient = true) * @param string $_className optional (used by inherited classes in order to always call this method) * @return UserManagementWsdlClass|null */ - public static function __set_state(array $_array,$_className = __CLASS__) + public static function __set_state(array $_array) { + $_className = __CLASS__; if(class_exists($_className)) { $object = @new $_className(); diff --git a/lib/block_panopto_bulk_lib.php b/lib/block_panopto_bulk_lib.php index f66dad4..679dd63 100644 --- a/lib/block_panopto_bulk_lib.php +++ b/lib/block_panopto_bulk_lib.php @@ -15,23 +15,25 @@ // along with Moodle. If not, see . /** - * main library functions for the panoptop block bulk operations. + * Main library functions for the Panoptop block bulk operations. + * * Warning: These operations can work on many Panopto mappings for many Panopto servers at one time. * Please make sure the user performing this work is an administrator on all Panopto servers to avoid - * an access headache. + * an access headache. * * @package block_panopto * @copyright Panopto 2020 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ + /** * Update the progress for Panopto bulk operation. * * @param int $currentprogress the current progress that the bar needs to reflect. * @param int $totalitems the total number of items in the current step to be processed. * @param int $progressstep if set update the progress step to this value. + * @param int $taskstep which task step we are on currently. */ - function panopto_update_task_progress($currentprogress, $totalitems, $progressstep, $taskstep) { if (isset($taskstep) && !empty($taskstep)) { \panopto_data::print_log(get_string('bulk_task_new_step', 'block_panopto', $taskstep)); @@ -52,12 +54,12 @@ function panopto_update_task_progress($currentprogress, $totalitems, $progressst /** * Checks to see if we need to throttle the bulk operation and does so if needed - * - * @var $numberprocessed the current number of folders processed. + * + * @param number $numberprocessed the current number of folders processed. */ function panopto_handle_bulk_throttle($numberprocessed) { if ($numberprocessed > 0 && $numberprocessed % 50 == 0) { - // Put in a minor break between batches to not make API calls too quickly. + // Put in a minor break between batches to not make API calls too quickly. sleep(10); } @@ -67,35 +69,41 @@ function panopto_handle_bulk_throttle($numberprocessed) { /** * Display the access error in the case the working user does not have the correct Panopto permissions * - * @var $targetuser the Panopto username for the current user (so the customer knows who to make an Admin) - */ + * @param string $targetuser the Panopto username for the current user (so the customer knows who to make an Admin) + */ function panopto_bulk_display_access_error($targetuser) { if (!CLI_SCRIPT) { include('views/bulk_task_access_error.html.php'); } - + \panopto_data::print_log( get_string( - 'bulk_task_access_error', - 'block_panopto', + 'bulk_task_access_error', + 'block_panopto', $targetuser ) ); } +/** + * Display progress bar for bulk update operation. + * + * @param int $percentdone % complete on the progress bar. + * @param string $steptype progress step status such as 'validating', 'processing', etc. + */ function panopto_bulk_update_progress_bar($percentdone, $steptype) { $periodstring = ''; - while(strlen($periodstring) < $percentdone % 4) { + while (strlen($periodstring) < $percentdone % 4) { $periodstring .= '.'; } - // Javascript for updating the progress bar and information - $updatescriptstring = ''; echo $updatescriptstring; @@ -103,10 +111,10 @@ function panopto_bulk_update_progress_bar($percentdone, $steptype) { /** * This script will process all passed in folders using the passed in callback - * - * @var $panoptocourseobjects array - all valid mappings ready to process - * @var $bulktaskname string - the name of the bulk task we are performing on the mappings - * @var $workercallback string - the name of the callback function we use to process a folder + * + * @param array $panoptocourseobjects all valid mappings ready to process + * @param string $bulktaskname the name of the bulk task we are performing on the mappings + * @param string $workercallback the name of the callback function we use to process a folder */ function panopto_bulk_process_folders($panoptocourseobjects, $bulktaskname, $workercallback) { $currindex = 0; @@ -125,12 +133,12 @@ function panopto_bulk_process_folders($panoptocourseobjects, $bulktaskname, $wor } /** - * callback used to bulk reprovision all folders and imports - * - * @var mappedfolder object the current folder we are provisioning - */ + * Callback used to bulk reprovision all folders and imports + * + * @param object $mappablecourse the current folder we are provisioning + */ function panopto_bulk_reprovision_callback($mappablecourse) { - + $provisioningdata = $mappablecourse->provisioninginfo; $provisioneddata = $mappablecourse->panopto->provision_course($provisioningdata, true); @@ -140,8 +148,8 @@ function panopto_bulk_reprovision_callback($mappablecourse) { $mappablecourse->panopto->ensure_auth_manager(); $activepanoptoserverversion = $mappablecourse->panopto->authmanager->get_server_version(); $useccv2 = version_compare( - $activepanoptoserverversion, - \panopto_data::$ccv2requiredpanoptoversion, + $activepanoptoserverversion, + \panopto_data::$ccv2requiredpanoptoversion, '>=' ); @@ -156,26 +164,26 @@ function panopto_bulk_reprovision_callback($mappablecourse) { } /** - * callback used to bulk update all folder names to match course names - * - * @var mappablecourse object the current folder we are provisioning - */ + * Callback used to bulk update all folder names to match course names + * + * @param object $mappablecourse the current folder we are provisioning + */ function panopto_bulk_rename_callback($mappablecourse) { - // display the name information for the user - // provisioninginfo should still contain the original name. + // Display the name information for the user. + // Provisioninginfo should still contain the original name. $currentfoldernamecontainer = new stdClass; $currentfoldernamecontainer->oldname = $mappablecourse->provisioninginfo->fullname; $currentfoldernamecontainer->moodleid = $mappablecourse->panopto->moodlecourseid; if ($currentfoldernamecontainer->oldname != $mappablecourse->panopto->get_new_folder_name(null, null)) { if ($mappablecourse->panopto->update_folder_name()) { - // currentcoursename should get updated during the update_folder_name call. + // The currentcoursename should get updated during the update_folder_name call. $currentfoldernamecontainer->newname = $mappablecourse->panopto->currentcoursename; \panopto_data::print_log( get_string('bulk_rename_single_success', 'block_panopto', $currentfoldernamecontainer) ); - + if (!CLI_SCRIPT) { include('views/bulk_rename_single_success.html.php'); } @@ -188,7 +196,7 @@ function panopto_bulk_rename_callback($mappablecourse) { } } } else { - // currentcoursename should get updated during the update_folder_name call. + // The currentcoursename should get updated during the update_folder_name call. $currentfoldernamecontainer->newname = $mappablecourse->panopto->currentcoursename; \panopto_data::print_log( @@ -203,13 +211,13 @@ function panopto_bulk_rename_callback($mappablecourse) { /** * Grabs every mapping existing in the Panopto FolderMap table and checks that the mapping is - * still in a good state (e.g. Folder Deleted in Panopto, Course in Moodle doesn't exist + * still in a good state (e.g. Folder Deleted in Panopto, Course in Moodle doesn't exist * anymore, or any necessary DB fields still exist). Returns an array of Panopto mapping data - * for the mappings that are still in a good state or can be recovered by fresh provisining. - * - * @var $currentindex int the current folder row we are on - * @var $skipimports bool whether or not to process imported folders. - */ + * for the mappings that are still in a good state or can be recovered by fresh provisining. + * + * @param array $params beginning index and number to process. + * @param bool $skipimports whether or not to process imported folders. + */ function panopto_bulk_sanitize_and_get_mappings($params, $skipimports) { global $DB; @@ -285,7 +293,7 @@ function panopto_bulk_sanitize_and_get_mappings($params, $skipimports) { panopto_bulk_display_access_error($getunamepanopto->panopto_decorate_username($getunamepanopto->uname)); - // If the user does not have access on even one of the folders return nothing. + // If the user does not have access on even one of the folders return nothing. return array(); } } else { @@ -302,8 +310,7 @@ function panopto_bulk_sanitize_and_get_mappings($params, $skipimports) { panopto_bulk_display_access_error($getunamepanopto->panopto_decorate_username($getunamepanopto->uname)); - - // If the user does not have access on even one of the folders return nothing. + // If the user does not have access on even one of the folders return nothing. return array(); } else { if (isset($oldpanoptocourse->provisioninginfo->couldnotfindmappedfolder) && @@ -312,7 +319,7 @@ function panopto_bulk_sanitize_and_get_mappings($params, $skipimports) { // The true parameter moves the row to the old_foldermap instead of deleting it. \panopto_data::delete_panopto_relation($oldcourse->moodleid, true); - //Recreate the default role mappings that were deleted by the above line. + // Recreate the default role mappings that were deleted by the above line. $oldpanoptocourse->panopto->check_course_role_mappings(); // Imports SHOULD still work for this case, so continue to below code. @@ -323,7 +330,6 @@ function panopto_bulk_sanitize_and_get_mappings($params, $skipimports) { foreach ($courseimports as $courseimport) { $importpanopto = new \panopto_data($courseimport); - $existingmoodlecourse = $DB->get_record('course', array('id' => $courseimport)); $moodlecourseexists = isset($existingmoodlecourse) && $existingmoodlecourse !== false; @@ -331,14 +337,18 @@ function panopto_bulk_sanitize_and_get_mappings($params, $skipimports) { isset($importpanopto->applicationkey) && !empty($importpanopto->applicationkey); // Only perform the actions below if the import is in a valid state, otherwise remove it. - if ($moodlecourseexists && $hasvalidpanoptodata) { + if ($moodlecourseexists && $hasvalidpanoptodata) { $importpanoptofolder = $importpanopto->get_folders_by_id_no_sync(); - if ($importpanoptofolder == null || (isset($importpanoptofolder->notfound) && $importpanoptofolder->notfound == true)) { - // In this case the folder was not found, not an access issue. Most likely the folder was deleted and this is an old entry. + if ($importpanoptofolder == null || + (isset($importpanoptofolder->notfound) && + $importpanoptofolder->notfound == true)) { + // In this case the folder was not found, not an access issue. + // Most likely the folder was deleted and this is an old entry. // Move the entry to the old_foldermap so user still has a reference. \panopto_data::delete_panopto_relation($courseimport, true); - // We can still continue on with the upgrade, assume this was an old entry that was deleted from Panopto side. + // We can still continue on with the upgrade. + // Assume this was an old entry that was deleted from Panopto side. } else if (!empty($importpanoptofolder->errormessage)) { // This case means the user failed to get the folder. @@ -360,45 +370,49 @@ function panopto_bulk_sanitize_and_get_mappings($params, $skipimports) { } /** - * Gets all existing mapped panopto folders, verifies the folders existand then renames them - * to match their mapped course name + * Gets all existing mapped panopto folders, verifies the folders existand then renames them + * to match their mapped course name. * - * @param string $params[1] - The index you would like to start with in the rename process. - * @param string $params[2] - The number of folders you would like to work on this execution. + * @param array $params + * $params[1] - The index you would like to start with in the rename process. + * $params[2] - The number of folders you would like to work on this execution. */ function panopto_rename_all_folders($params) { - // This can take a very long time if users have many folders + // This can take a very long time if users have many folders. core_php_time_limit::raise(); - if(!CLI_SCRIPT) { + if (!CLI_SCRIPT) { include('views/bulk_task_progress_bar.html.php'); } panopto_bulk_process_folders( - panopto_bulk_sanitize_and_get_mappings($params, true), - get_string('bulk_rename_start_renaming', 'block_panopto'), + panopto_bulk_sanitize_and_get_mappings($params, true), + get_string('bulk_rename_start_renaming', 'block_panopto'), 'panopto_bulk_rename_callback' ); } /** * This script will reprovision all existing Panopto folders associated with this Moodle site. - * For users experiencing issues with large amounts of courses the following two parameters can be added to the CLI to batching purposes. - * - * e.g. upgrade_all_folders.php 550 500 - * This line will start at folder 550 and will process/upgrade up to folder 1050 - * @param string $params[1] - The index you would like to start with in the upgrade process. - * @param string $params[2] - The number of folders you would like to work on this execution. + * For users experiencing issues with large amounts of courses + * the following two parameters can be added to the CLI to batching purposes. + * + * e.g. upgrade_all_folders.php 550 500 + * This line will start at folder 550 and will process/upgrade up to folder 1050 + * + * @param array $params + * $params[1] - The index you would like to start with in the upgrade process. + * $params[2] - The number of folders you would like to work on this execution. */ function panopto_upgrade_all_folders($params) { - // This can take a very long time if users have many folders + // This can take a very long time if users have many folders. core_php_time_limit::raise(); if (!CLI_SCRIPT) { include('views/bulk_task_progress_bar.html.php'); } - // we do not want to skip imports when bulk reprovisioning all folders. + // We do not want to skip imports when bulk reprovisioning all folders. panopto_bulk_process_folders( panopto_bulk_sanitize_and_get_mappings($params, false), get_string('bulk_reprovision_begin_reprovision', 'block_panopto'), diff --git a/lib/block_panopto_lib.php b/lib/block_panopto_lib.php index 95c7977..54cc942 100644 --- a/lib/block_panopto_lib.php +++ b/lib/block_panopto_lib.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * main library functions for the panoptop block + * Main library functions for the Panopto block * * @package block_panopto * @copyright Panopto 2009 - 2016 /With contributions from Spenser Jones (sjones@ambrose.edu) @@ -29,7 +29,6 @@ * * @param string $alertmessage - the message the user is supposed to see. */ - function panopto_alert_user($alertmessage) { echo '