ILIAS  Release_4_2_x_branch Revision 61807
 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 meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
Id:
class.ilFileData.php 23143 2010-03-09 12:15:33Z smeyer

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 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: