parent
05bdf0fdf1
commit
fa85b0daab
@ -0,0 +1,47 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
/** |
||||
* Class StudentFollowUpPlugin |
||||
*/ |
||||
class StudentFollowUpPlugin extends Plugin |
||||
{ |
||||
/** |
||||
* @return StudentFollowUpPlugin |
||||
*/ |
||||
public static function create() |
||||
{ |
||||
static $result = null; |
||||
return $result ? $result : $result = new self(); |
||||
} |
||||
|
||||
/** |
||||
* StudentFollowUpPlugin constructor. |
||||
*/ |
||||
protected function __construct() |
||||
{ |
||||
parent::__construct( |
||||
'0.1', |
||||
'Julio Montoya', |
||||
array( |
||||
'tool_enable' => 'boolean' |
||||
) |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* |
||||
*/ |
||||
public function install() |
||||
{ |
||||
|
||||
} |
||||
|
||||
/** |
||||
* |
||||
*/ |
||||
public function uninstall() |
||||
{ |
||||
|
||||
} |
||||
} |
@ -0,0 +1,2 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
@ -0,0 +1,7 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
if (!api_is_platform_admin()) { |
||||
api_not_allowed(true); |
||||
} |
||||
StudentFollowUpPlugin::create()->install(); |
@ -0,0 +1,8 @@ |
||||
<?php |
||||
|
||||
$strings['plugin_title'] = "Student Follow-up System"; |
||||
$strings['plugin_comment'] = "Care system (Zorgdossier) [CS] |
||||
Career follow system (Structuurschema) [CFS] |
||||
Competence based evaluation system (Competentie evaluatie systeem) [CBES]"; |
||||
$strings['tool_enable'] = 'Enable plugin'; |
||||
|
@ -0,0 +1,8 @@ |
||||
<?php |
||||
|
||||
$strings['plugin_title'] = "Student Follow-up System"; |
||||
$strings['plugin_comment'] = "Care system (Zorgdossier) [CS] |
||||
Career follow system (Structuurschema) [CFS] |
||||
Competence based evaluation system (Competentie evaluatie systeem) [CBES]"; |
||||
$strings['tool_enable'] = 'Enable plugin'; |
||||
|
@ -0,0 +1,23 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
/** |
||||
* StudentFollowUpPlugin |
||||
* @package chamilo.plugin |
||||
*/ |
||||
|
||||
$plugin = StudentFollowUpPlugin::create(); |
||||
$plugin_info = $plugin->get_info(); |
||||
|
||||
|
||||
$form = new FormValidator('htaccess'); |
||||
//$form->addText('text', 'text', ['rows' => '15']); |
||||
$form->addButtonSave(get_lang('Save')); |
||||
|
||||
if ($form->validate()) { |
||||
} |
||||
|
||||
$plugin_info['settings_form'] = $form; |
||||
|
||||
|
||||
|
@ -0,0 +1,8 @@ |
||||
<?php |
||||
/* For licensing terms, see /license.txt */ |
||||
|
||||
if (!api_is_platform_admin()) { |
||||
api_not_allowed(true); |
||||
} |
||||
|
||||
StudentFollowUpPlugin::create()->uninstall(); |
Loading…
Reference in new issue