CODE STYLE class.pmPhing.php

This commit is contained in:
Fernando Ontiveros
2012-10-09 12:58:15 -04:00
parent 409bbdf07c
commit c0b6951bf1

View File

@@ -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';
} }
} }