claroline/claroline/inc/lib/core/core.lib.php File Reference

Go to the source code of this file.

Data Structures

class  FromKernel
class  From

Namespaces

namespace  KERNEL

Functions

 protect_against_file_inclusion ($path)
 uses ()

Function Documentation

protect_against_file_inclusion ( path  ) 

Protect file path against arbitrary file inclusion

Parameters:
string path, untrusted path
Returns:
string secured path

Definition at line 22 of file core.lib.php.

uses (  ) 

Imports the PHP libraries given in argument with path relative to includePath or module lib/ directory. .php extension added automaticaly

Parameters:
list of libraries
Returns:
array of not found libraries + generate an error in debug mode
Deprecated:
since 1.9.0, use FromKernel::uses() and From::module()->uses() instead

Definition at line 43 of file core.lib.php.

Generated on Tue Jun 8 12:28:37 2010 for Claroline API by  doxygen 1.6.3