Elgg  Version 2.3
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 }
static includeFile($file)
Include a file with as little context as possible.
Definition: Includer.php:17
if(!array_key_exists($filename, $text_files)) $file
Save menu items.
Allow executing scripts without $this context or local vars.
Definition: Includer.php:9
elgg require
Throw an error if the required package isn&#39;t present.
Definition: elgglib.js:164
static requireFile($file)
Require a file with as little context as possible.
Definition: Includer.php:27