ILIAS
Release_4_2_x_branch Revision 61807
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilFile.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
13
class
ilFile
14
{
20
var
$path
;
21
27
var
$ilias
;
28
29
35
function
ilFile
()
36
{
37
global
$ilias
;
38
39
$this->ilias = &
$ilias
;
40
}
41
48
function
deleteTrailingSlash
($a_path)
49
{
50
// DELETE TRAILING '/'
51
if
(substr($a_path,-1) ==
'/'
or substr($a_path,-1) ==
"\\"
)
52
{
53
$a_path = substr($a_path,0,-1);
54
}
55
56
return
$a_path;
57
}
58
}
59
?>
classes
class.ilFile.php
Generated on Fri Apr 22 2016 19:03:42 for ILIAS by
1.8.1.2 (using
Doxyfile
)