-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
711 additions
and
355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
<?php | ||
/** | ||
/** | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; under version 2 | ||
* of the License (non-upgradable). | ||
* | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
* | ||
* | ||
* Copyright (c) 2002-2008 (original work) Public Research Centre Henri Tudor & University of Luxembourg (under the project TAO & TAO2); | ||
* 2008-2010 (update and modification) Deutsche Institut für Internationale Pädagogische Forschung (under the project TAO-TRANSFER); | ||
* 2009-2012 (update and modification) Public Research Centre Henri Tudor (under the project TAO-SUSTAIN & TAO-DEV); | ||
* 2013-2014 (update and modification) Open Assessment Technologies SA | ||
* 2013-2018 (update and modification) Open Assessment Technologies SA | ||
*/ | ||
namespace oat\taoGroups\controller; | ||
|
||
use \core_kernel_classes_Property; | ||
use \tao_helpers_form_GenerisTreeForm; | ||
use oat\taoGroups\models\GroupsService; | ||
|
||
|
@@ -30,23 +29,17 @@ | |
* | ||
* @author Bertrand Chevrier, <[email protected]> | ||
* @package taoGroups | ||
* | ||
* | ||
* @license GPLv2 http://www.opensource.org/licenses/gpl-2.0.php | ||
*/ | ||
class SaSGroups extends Groups | ||
{ | ||
|
||
protected function getClassService() | ||
{ | ||
return GroupsService::singleton(); | ||
} | ||
|
||
/** | ||
* overrided to prevent exception: | ||
* if no class is selected, the root class is returned | ||
* | ||
* | ||
* @see TaoModule::getCurrentClass() | ||
* @return core_kernel_class_Class | ||
* @return \core_kernel_classes_Class | ||
*/ | ||
protected function getCurrentClass() | ||
{ | ||
|
@@ -58,11 +51,13 @@ protected function getCurrentClass() | |
|
||
/** | ||
* Render the tree to select the group related subjects | ||
* | ||
* | ||
*/ | ||
public function selectSubjects() | ||
{ | ||
$memberProperty = new core_kernel_classes_Property(GroupsService::PROPERTY_MEMBERS_URI); | ||
$this->defaultData(); | ||
|
||
$memberProperty = $this->getProperty(GroupsService::PROPERTY_MEMBERS_URI); | ||
$memberForm = tao_helpers_form_GenerisTreeForm::buildTree($this->getCurrentInstance(), $memberProperty); | ||
$memberForm->setData('title', __('Select group test takers')); | ||
$this->setData('tree', $memberForm->render()); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: TAO 3.1.0-sprint15\n" | ||
"PO-Revision-Date: 2015-12-23T13:12:16\n" | ||
"Project-Id-Version: TAO 3.3.0-sprint92.1\n" | ||
"PO-Revision-Date: 2019-01-18T12:46:10\n" | ||
"Last-Translator: TAO Translation Team <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Language: ar-arb\n" | ||
|
@@ -16,6 +16,10 @@ msgstr "" | |
msgid "Add to group" | ||
msgstr "" | ||
|
||
#, tao-public | ||
msgid "Copy To" | ||
msgstr "" | ||
|
||
#, tao-public | ||
msgid "Delete" | ||
msgstr "" | ||
|
@@ -31,17 +35,16 @@ msgstr "" | |
msgid "Export" | ||
msgstr "تصدير" | ||
|
||
#, tao-public | ||
msgid "Filter" | ||
msgstr "" | ||
|
||
msgid "Group saved" | ||
msgstr "مجموعة محفوظة" | ||
|
||
#, tao-public | ||
msgid "Group test takers according to global features and classifications." | ||
msgstr "" | ||
|
||
msgid "Group uri is not valid" | ||
msgstr "" | ||
|
||
#, tao-public | ||
msgid "Groups" | ||
msgstr "مجموعات" | ||
|
@@ -54,14 +57,25 @@ msgstr "مكتبة المجموعات" | |
msgid "Import" | ||
msgstr "استراد" | ||
|
||
msgid "Last updated on %2s" | ||
msgstr "" | ||
|
||
#, tao-public | ||
msgid "Manage groups" | ||
msgstr "إدارة المجموعات" | ||
|
||
#, tao-public | ||
msgid "Manage Schema" | ||
msgstr "" | ||
|
||
#, tao-public | ||
msgid "Move" | ||
msgstr "حرك" | ||
|
||
#, tao-public | ||
msgid "Move To" | ||
msgstr "" | ||
|
||
#, tao-public | ||
msgid "New class" | ||
msgstr "صنف جديد" | ||
|
@@ -74,13 +88,15 @@ msgstr "مجموعة جديدة" | |
msgid "Properties" | ||
msgstr "" | ||
|
||
#, tao-public | ||
msgid "Search" | ||
msgstr "بحث" | ||
|
||
msgid "Select group test takers" | ||
msgstr "اختر مواضيع المجموعة" | ||
|
||
msgid "The Groups module allows to group Test takers according to global features and classifications." | ||
msgstr "" | ||
|
||
msgid "Unable to create new group" | ||
msgstr "" | ||
|
||
msgid "Unable to delete group" | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: TAO 3.1.0-sprint15\n" | ||
"PO-Revision-Date: 2015-12-23T13:12:16\n" | ||
"Project-Id-Version: TAO 3.3.0-sprint92.1\n" | ||
"PO-Revision-Date: 2019-01-18T12:46:10\n" | ||
"Last-Translator: TAO Translation Team <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Language: ar-arb\n" | ||
|
Oops, something went wrong.