CODE STYLE class.pmPhing.php
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.ArrayPeer.php
|
* class.ArrayPeer.php
|
||||||
|
*
|
||||||
* @package workflow.engine.classes
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
@@ -26,20 +27,23 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Phing Class Wrapper
|
* Phing Class Wrapper
|
||||||
|
*
|
||||||
* @author Erik Amaru Ortiz <erik@colosa.com>
|
* @author Erik Amaru Ortiz <erik@colosa.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once 'phing/Phing.php';
|
include_once 'phing/Phing.php';
|
||||||
set_include_path(PATH_THIRDPARTY . 'propel-generator/classes/' . PATH_SEPARATOR . get_include_path());
|
set_include_path( PATH_THIRDPARTY . 'propel-generator/classes/' . PATH_SEPARATOR . get_include_path() );
|
||||||
|
|
||||||
if (!class_exists('Phing')) {
|
if (! class_exists( 'Phing' )) {
|
||||||
throw new Exception('Fatal Error: Phing is not loaded!');
|
throw new Exception( 'Fatal Error: Phing is not loaded!' );
|
||||||
}
|
}
|
||||||
|
|
||||||
class pmPhing extends Phing
|
class pmPhing extends Phing
|
||||||
{
|
{
|
||||||
function getPhingVersion()
|
|
||||||
|
public function getPhingVersion ()
|
||||||
{
|
{
|
||||||
return 'pmPhing Ver 1.0';
|
return 'pmPhing Ver 1.0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user