Back to index

php5  5.3.10
Functions
phar.php File Reference

class CLICommand More...

Go to the source code of this file.

Functions

if(!extension_loaded('phar'))
foreach(array("SPL","Reflection")
as $ext
command_include ($file)
 command_autoload ($classname)

Detailed Description

class CLICommand

Author:
Marcus Boerger
Date:
2007 - 2008

Phar Command

Definition in file phar.php.


Function Documentation

command_autoload ( classname)

Definition at line 43 of file phar.php.

{
       command_include(strtolower($classname) . '.inc');
}

Here is the call graph for this function:

if (!extension_loaded('phar')) foreach (array("SPL","Reflection") as $ext) command_include ( file)

Definition at line 35 of file phar.php.

{
       $file = 'phar://' . __FILE__ . '/' . $file;
       if (file_exists($file)) {
              include($file);
       }
}

Here is the caller graph for this function: