PHP code example of iqual / all4schools_connector
1. Go to this page and download the library: Download iqual/all4schools_connector library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
iqual / all4schools_connector example snippets
$plugin_manager = \Drupal::service('plugin.manager.all4schools_connector');
$plugin_instance = $plugin_manager->createInstance('example_all4schools_connector');
// Test any method.
$all_courses = $plugin_instance->getCourses();