Skip to content

Commit

Permalink
moved ilExplorer to Services/UIComponent, ilIniFile and ilErrorHandli…
Browse files Browse the repository at this point in the history
…ng to Services/Init and ilValidator to Services/Repository

git-svn-id: http://svn.ilias.de/svn/ilias/trunk@33491 21b2c9ec-7c21-0410-8b45-9bfb8ed2bfc5
  • Loading branch information
alex40724 committed Mar 2, 2012
1 parent 5126475 commit a5651fc
Show file tree
Hide file tree
Showing 57 changed files with 64 additions and 69 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @ingroup ModulesIliasLearningModule
*/

include_once("classes/class.ilExplorer.php");
include_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");

class ilIntLinkRepItemExplorer extends ilExplorer
{
Expand Down
2 changes: 1 addition & 1 deletion Modules/LearningModule/classes/class.ilLMExplorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @ingroup ModulesIliasLearningModule
*/

require_once("./classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");

class ilLMExplorer extends ilExplorer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
+-----------------------------------------------------------------------------+
*/

require_once("classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");

/**
* LM Menu Object Selector
Expand Down
6 changes: 0 additions & 6 deletions Modules/LearningModule/classes/class.ilLMPresentationGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ function ilLMPresentationGUI()
$this->ctrl->saveParameter($this, array("ref_id"));
$this->lm_set = new ilSetting("lm");

# include_once './classes/class.ilSearch.php';

# if(!ilSearch::_checkParentConditions($_GET['ref_id']))
# {
# $ilias->error_obj->raiseError($lng->txt('access_denied'),$ilias->error_obj->WARNING);
# }
// Todo: check lm id
$type = $this->ilias->obj_factory->getTypeByRefId($_GET["ref_id"]);

Expand Down
2 changes: 1 addition & 1 deletion Modules/MediaPool/classes/class.ilMediaPoolExplorer.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */

require_once("classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");

/*
* Explorer for Media Pools
Expand Down
2 changes: 1 addition & 1 deletion Modules/Scorm2004/classes/class.ilGlossarySelectorGUI.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */

include_once("./classes/class.ilExplorer.php");
include_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");

/**
* Select file for being added into file lists
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*
* @ingroup ModulesScormAicc
*/
require_once("./classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
class ilScorm2004EditorExplorer extends ilExplorer
{
/**
Expand Down
5 changes: 4 additions & 1 deletion Modules/Scorm2004/classes/updateADLTree.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?php

// please contact alex.killing (at) gmx.de
die("Deprecated.");

/*
+-----------------------------------------------------------------------------+
| ILIAS open source |
Expand Down Expand Up @@ -42,7 +45,7 @@
*/

require_once("adlparser/SeqTreeBuilder.php");
require_once("../../../classes/class.ilIniFile.php");
require_once("../../../Services/Init/classes/class.ilIniFile.php");

//find all folders containing data
//initIliasIniFile()
Expand Down
2 changes: 1 addition & 1 deletion Modules/ScormAicc/classes/AICC/class.ilAICCExplorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* @ingroup ModulesScormAicc
*/

require_once("classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
require_once("./Modules/ScormAicc/classes/AICC/class.ilAICCTree.php");
require_once("./Modules/ScormAicc/classes/SCORM/class.ilSCORMExplorer.php");

Expand Down
2 changes: 1 addition & 1 deletion Modules/ScormAicc/classes/HACP/class.ilHACPExplorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
+-----------------------------------------------------------------------------+
*/

require_once("classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
require_once("./Modules/ScormAicc/classes/AICC/class.ilAICCTree.php");
require_once("./Modules/ScormAicc/classes/AICC/class.ilAICCExplorer.php");

Expand Down
2 changes: 1 addition & 1 deletion Modules/ScormAicc/classes/SCORM/class.ilSCORMExplorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @ingroup ModulesScormAicc
*/

require_once("classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
require_once("./Modules/ScormAicc/classes/SCORM/class.ilSCORMTree.php");

class ilSCORMExplorer extends ilExplorer
Expand Down
2 changes: 0 additions & 2 deletions Modules/ScormAicc/classes/class.ilSAHSPresentationGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ function &executeCommand()
exit();
}

include_once './classes/class.ilSearch.php';

$next_class = $this->ctrl->getNextClass($this);
$cmd = $this->ctrl->getCmd();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @ingroup ModulesSurveyQuestionPool
*/

include_once("./classes/class.ilExplorer.php");
include_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");

class ilMaterialExplorer extends ilExplorer
{
Expand Down
8 changes: 4 additions & 4 deletions Modules/SystemFolder/classes/class.ilObjSystemFolderGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ function checkObject()
else
{
//echo "4";
include_once "classes/class.ilValidator.php";
include_once "./Services/Repository/classes/class.ilValidator.php";
$validator = new ilValidator();
$hasScanLog = $validator->hasScanLog();

Expand Down Expand Up @@ -1269,7 +1269,7 @@ private function saveCheckParamsObject()

private function writeCheckParams()
{
include_once "classes/class.ilValidator.php";
include_once "./Services/Repository/classes/class.ilValidator.php";
$validator = new ilValidator();
$modes = $validator->getPossibleModes();

Expand Down Expand Up @@ -1538,7 +1538,7 @@ function startValidator($a_mode,$a_log)
}

$logging = ($a_log) ? true : false;
include_once "classes/class.ilValidator.php";
include_once "./Services/Repository/classes/class.ilValidator.php";
$validator = new ilValidator($logging);
$validator->setMode("all",false);

Expand Down Expand Up @@ -1574,7 +1574,7 @@ function startValidator($a_mode,$a_log)

function viewScanLog()
{
include_once "classes/class.ilValidator.php";
include_once "./Services/Repository/classes/class.ilValidator.php";
$validator = new IlValidator();
$scan_log =& $validator->readScanLog();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @ingroup ModulesTestQuestionPool
*/

include_once "./classes/class.ilExplorer.php";
include_once "./Services/UIComponent/Explorer/classes/class.ilExplorer.php";
include_once "./Modules/Test/classes/inc.AssessmentConstants.php";

class ilSolutionExplorer extends ilExplorer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*
*/

include_once("classes/class.ilExplorer.php");
include_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
include_once("Services/PersonalWorkspace/classes/class.ilWorkspaceTree.php");

class ilWorkspaceFolderExplorer extends ilExplorer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
*/

require_once("classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
include_once './Services/Repository/classes/class.ilRepositoryExplorer.php';

class ilConditionSelector extends ilRepositoryExplorer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
*/

require_once("classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");


class ilRoleDesktopItemSelector extends ilExplorer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
*/

require_once("classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");

class ilAdministrationExplorer extends ilExplorer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ function logout()

function __buildDSN()
{
include_once './classes/class.ilIniFile.php';
include_once './Services/Init/classes/class.ilIniFile.php';

// get ilias ini file
$this->ilias_ini =& new ilIniFile('./ilias.ini.php');
Expand Down Expand Up @@ -310,7 +310,7 @@ function __setSessionSaveHandler()
{
require_once "./Services/Authentication/classes/class.ilSessionDBHandler.php";
include_once "./Services/Utilities/classes/class.ilUtil.php";
include_once './classes/class.ilErrorHandling.php';
include_once './Services/Init/classes/class.ilErrorHandling.php';
include_once './Services/Database/classes/class.ilDB.php';

$this->db->connect();
Expand Down
2 changes: 1 addition & 1 deletion Services/COPage/classes/class.ilFileSelectorGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @ingroup ServicesCOPage
*/

include_once("./classes/class.ilExplorer.php");
include_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
class ilFileSelectorGUI extends ilExplorer
{
/**
Expand Down
2 changes: 1 addition & 1 deletion Services/COPage/classes/class.ilPoolSelectorGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @ingroup ServicesCOPage
*/

include_once("./classes/class.ilExplorer.php");
include_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
class ilPoolSelectorGUI extends ilExplorer
{
var $content_gui = "ilpcmediaobjectgui";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
+-----------------------------------------------------------------------------+
*/

include_once('./classes/class.ilExplorer.php');
include_once('./Services/UIComponent/Explorer/classes/class.ilExplorer.php');

/**
*
Expand Down
2 changes: 1 addition & 1 deletion Services/CopyWizard/classes/class.ilCopyWizardExplorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
+-----------------------------------------------------------------------------+
*/

include_once('classes/class.ilExplorer.php');
include_once('./Services/UIComponent/Explorer/classes/class.ilExplorer.php');

/**
*
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions Services/Init/classes/class.ilInitialisation.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ protected static function includePhp5Compliance()
*/
protected static function initIliasIniFile()
{
require_once("classes/class.ilIniFile.php");
require_once("./Services/Init/classes/class.ilIniFile.php");
$ilIliasIniFile = new ilIniFile("./ilias.ini.php");
$ilIliasIniFile->read();
self::initGlobal('ilIliasIniFile', $ilIliasIniFile);
Expand Down Expand Up @@ -306,7 +306,7 @@ protected static function initClientIniFile()
$ini_file = "./".ILIAS_WEB_DIR."/".CLIENT_ID."/client.ini.php";

// get settings from ini file
require_once("classes/class.ilIniFile.php");
require_once("./Services/Init/classes/class.ilIniFile.php");
$ilClientIniFile = new ilIniFile($ini_file);
$ilClientIniFile->read();

Expand Down Expand Up @@ -916,7 +916,7 @@ protected static function initCore()

// error handler
self::initGlobal("ilErr", "ilErrorHandling",
"classes/class.ilErrorHandling.php");
"./Services/Init/classes/class.ilErrorHandling.php");
$ilErr->setErrorHandling(PEAR_ERROR_CALLBACK, array($ilErr, 'errorHandler'));

// :TODO: obsolete?
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/* Copyright (c) 1998-2011 ILIAS open source, Extended GPL, see docs/LICENSE */

include_once("classes/class.ilExplorer.php");
include_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");

/**
* Internal Link: Repository Item Selector Explorer
Expand Down
2 changes: 1 addition & 1 deletion Services/LoadTest/scripts/run_loadtest
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// get db
echo "Connecting to DB. Host: ".$db_host.", Name: ".$db_name.
", User: ".$db_user.", Password: ".(trim($db_pw) != "" ? "Y" : "N").".\n";
include_once("./classes/class.ilErrorHandling.php");
include_once("./Services/Init/classes/class.ilErrorHandling.php");
include_once("./Services/Database/classes/class.ilDBWrapperFactory.php");
$ilDB = ilDBWrapperFactory::getWrapper("mysql");
$ilDB->setDbUser($db_user);
Expand Down
2 changes: 1 addition & 1 deletion Services/Mail/classes/class.ilMailExplorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @version $Id$
*
*/
require_once("classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");

class ilMailExplorer extends ilExplorer
{
Expand Down
2 changes: 1 addition & 1 deletion Services/Payment/classes/class.ilObjectSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @package core
*/

require_once("classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");

class ilObjectSelector extends ilExplorer
{
Expand Down
2 changes: 1 addition & 1 deletion Services/Payment/classes/class.ilPaymentObjectSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @package core
*/

require_once("classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
require_once './Services/Payment/classes/class.ilPaymentObject.php';


Expand Down
2 changes: 1 addition & 1 deletion Services/Payment/classes/class.ilShopExplorer.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */

require_once("./classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
#include_once ("./Services/Repository/classes/class.ilRepositoryExplorer.php");
include_once './Services/Payment/classes/class.ilPaymentObject.php';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */

require_once './classes/class.ilExplorer.php';
require_once './Services/UIComponent/Explorer/classes/class.ilExplorer.php';

/*
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*
*/

require_once("classes/class.ilExplorer.php");
require_once("./Services/UIComponent/Explorer/classes/class.ilExplorer.php");

class ilBookmarkExplorer extends ilExplorer
{
Expand Down
2 changes: 1 addition & 1 deletion Services/RTE/tiny_mce/plugins/ibrowser/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
+-----------------------------------------------------------------------------+
*/

include "../../../../../classes/class.ilIniFile.php";
include "../../../../../Services/Init/classes/class.ilIniFile.php";
$file = "../../../../../ilias.ini.php";
$ini = new ilIniFile($file);
$ini->read();
Expand Down
2 changes: 1 addition & 1 deletion Services/RTE/tiny_mce/plugins/ilimgupload/imgupload.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */

include_once "../../../../../classes/class.ilIniFile.php";
include_once "../../../../../Services/Init/classes/class.ilIniFile.php";
$file = "../../../../../ilias.ini.php";
$ini = new ilIniFile($file);
$ini->read();
Expand Down
2 changes: 1 addition & 1 deletion Services/RTE/tiny_mce/plugins/latex/latex.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/

include_once "HTML/Template/ITX.php";
include "../../../../../classes/class.ilIniFile.php";
include "../../../../../Services/Init/classes/class.ilIniFile.php";
$file = "../../../../../ilias.ini.php";
$ini = new ilIniFile($file);
$ini->read();
Expand Down
2 changes: 1 addition & 1 deletion Services/RTE/tiny_mce_3_4_7/plugins/ibrowser/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
+-----------------------------------------------------------------------------+
*/

include "../../../../../classes/class.ilIniFile.php";
include "../../../../../Services/Init/classes/class.ilIniFile.php";
$file = "../../../../../ilias.ini.php";
$ini = new ilIniFile($file);
$ini->read();
Expand Down
Loading

0 comments on commit a5651fc

Please sign in to comment.