You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
872 B
52 lines
872 B
<?php
|
|
|
|
/**
|
|
* Class Mobidico.
|
|
*/
|
|
class Mobidico extends Plugin
|
|
{
|
|
public $isCoursePlugin = true;
|
|
|
|
// When creating a new course this settings are added to the course
|
|
public $course_settings = [];
|
|
|
|
/**
|
|
* Constructor.
|
|
*/
|
|
protected function __construct()
|
|
{
|
|
parent::__construct(
|
|
'O.1',
|
|
'Julio Montoya',
|
|
[
|
|
'tool_enable' => 'boolean',
|
|
'api_key' => 'text',
|
|
'mobidico_url' => 'text',
|
|
]
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @return Mobidico|null
|
|
*/
|
|
public static function create()
|
|
{
|
|
static $result = null;
|
|
|
|
return $result ? $result : $result = new self();
|
|
}
|
|
|
|
/**
|
|
* Install.
|
|
*/
|
|
public function install()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Uninstall.
|
|
*/
|
|
public function uninstall()
|
|
{
|
|
}
|
|
}
|
|
|