|
|
|
@ -1,7 +1,16 @@ |
|
|
|
<?php |
|
|
|
<?php |
|
|
|
/* For licensing terms, see /license.txt */ |
|
|
|
/* For licensing terms, see /license.txt */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Chamilo\PluginBundle\Form; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use Category; |
|
|
|
use Chamilo\PluginBundle\Entity\ImsLti\ImsLtiTool; |
|
|
|
use Chamilo\PluginBundle\Entity\ImsLti\ImsLtiTool; |
|
|
|
|
|
|
|
use Display; |
|
|
|
|
|
|
|
use FormValidator; |
|
|
|
|
|
|
|
use ImsLti; |
|
|
|
|
|
|
|
use ImsLtiPlugin; |
|
|
|
|
|
|
|
use LtiAssignmentGradesService; |
|
|
|
|
|
|
|
use LtiNamesRoleProvisioningService; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Class FrmAdd. |
|
|
|
* Class FrmAdd. |
|
|
|
@ -34,8 +43,6 @@ class FrmEdit extends FormValidator |
|
|
|
* Build the form. |
|
|
|
* Build the form. |
|
|
|
* |
|
|
|
* |
|
|
|
* @param bool $globalMode |
|
|
|
* @param bool $globalMode |
|
|
|
* |
|
|
|
|
|
|
|
* @throws Exception |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function build($globalMode = true) |
|
|
|
public function build($globalMode = true) |
|
|
|
{ |
|
|
|
{ |
|
|
|
@ -179,7 +186,7 @@ class FrmEdit extends FormValidator |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @throws Exception |
|
|
|
* @throws \Exception |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function setDefaultValues() |
|
|
|
public function setDefaultValues() |
|
|
|
{ |
|
|
|
{ |
|
|
|
|