ILIAS  Release_3_10_x_branch Revision 61812
 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 12808 2006-12-08 18:04:21Z akill

Definition at line 34 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 56 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 43 of file class.ilFileData.php.

References ilFile\ilFile().

Referenced by ilFileDataChat\ilFileDataChat(), 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: