ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilFileData Class Reference

This class handles all operations on files in directory /ilias_data/. More...

+ Inheritance diagram for ilFileData:
+ Collaboration diagram for ilFileData:

Public Member Functions

 ilFileData ()
 Constructor class bas constructor and read path of directory from ilias.ini setup an mail object public.
 checkPath ($a_path)
 check if path exists and is writable
 getPath ()
 get Path public
- Public Member Functions inherited from ilFile
 ilFile ()
 Constructor get ilias object public.
 deleteTrailingSlash ($a_path)
 delete trailing slash of path variables

Additional Inherited Members

- Data Fields inherited from ilFile
 $path
 $ilias

Detailed Description

This class handles all operations on files in directory /ilias_data/.

Author
Stefan Meyer smeye.nosp@m.r@da.nosp@m.tabay.nosp@m..de
Version
Id:
class.ilFileData.php 20150 2009-06-08 18:02:33Z akill

Definition at line 14 of file class.ilFileData.php.

Member Function Documentation

ilFileData::checkPath (   $a_path)

check if path exists and is writable

Parameters
stringpath to check public
Returns
bool

Definition at line 36 of file class.ilFileData.php.

{
if(is_writable($a_path))
{
return true;
}
else
{
return false;
}
}
ilFileData::ilFileData ( )

Constructor class bas constructor and read path of directory from ilias.ini setup an mail object public.

Definition at line 23 of file class.ilFileData.php.

References ilFile\ilFile().

Referenced by ilFileDataChat\__construct(), ilFileDataCourse\ilFileDataCourse(), ilFileDataExercise\ilFileDataExercise(), ilFileDataForum\ilFileDataForum(), ilFileDataGroup\ilFileDataGroup(), ilFileDataImport\ilFileDataImport(), and ilFileDataMail\ilFileDataMail().

{
require_once("classes/class.ilFile.php");
$this->path = CLIENT_DATA_DIR;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: