init commitphpdocumentor phar, basic wrapper class, lib class
This commit is contained in:
commit
3e9cbe234e
3
autoload.inc
Normal file
3
autoload.inc
Normal file
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
\SYSTEM\autoload::registerFolder(dirname(__FILE__),'LIB');
|
||||
\LIB\lib_controll::register('\LIB\lib_phpdocumentor');
|
||||
BIN
lib/phpDocumentor.phar
Normal file
BIN
lib/phpDocumentor.phar
Normal file
Binary file not shown.
6
lib/phpdocumentor.php
Normal file
6
lib/phpdocumentor.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
class phpdocumentor {
|
||||
public static function run($inpath,$outpath){
|
||||
shell_exec(dirname(__FILE__).'/phpDocumentor.phar run -d '.$inpath.' -t '.$outpath);
|
||||
}
|
||||
}
|
||||
11
lib_phpdocumentor.php
Normal file
11
lib_phpdocumentor.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
namespace LIB;
|
||||
class lib_phpdocumentor extends \LIB\lib_php{
|
||||
public static function get_class(){
|
||||
return self::class;}
|
||||
public static function php_autoload(){
|
||||
require_once dirname(__FILE__).'/lib/phpdocumentor.php';
|
||||
return true;}
|
||||
public static function version(){
|
||||
return 'https://www.phpdoc.org/ phpdocumentor2';}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user