ILIAS  Release_5_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 meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
Id:
class.ilFileData.php 33510 2012-03-04 11:59:59Z 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 35 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(), ilFileDataGroup\ilFileDataGroup(), and ilFileDataImport\ilFileDataImport().

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