Elgg
Version 2.3
engine
classes
Elgg
Includer.php
Go to the documentation of this file.
1
<?php
2
namespace
Elgg
;
3
9
final
class
Includer
{
10
17
static
public
function
includeFile
(
$file
) {
18
return
(include
$file
);
19
}
20
27
static
public
function
requireFile
(
$file
) {
28
return
(require
$file
);
29
}
30
}
Elgg\Includer
Allow executing scripts without $this context or local vars.
Definition:
Includer.php:9
Elgg\Includer\requireFile
static requireFile($file)
Require a file with as little context as possible.
Definition:
Includer.php:27
Elgg\Includer\includeFile
static includeFile($file)
Include a file with as little context as possible.
Definition:
Includer.php:17
Elgg
Save menu items.
$file
if(!array_key_exists($filename, $text_files)) $file
Definition:
plugin_text_file.php:29
Generated on Fri Aug 29 2025 00:00:46 for Elgg by
1.9.1