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,7 +1,8 @@
<?php
/**
* class.ArrayPeer.php
* @package workflow.engine.classes
*
* @package workflow.engine.classes
*
* ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2011 Colosa Inc.
@@ -13,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
@@ -26,20 +27,23 @@
/**
* Phing Class Wrapper
*
* @author Erik Amaru Ortiz <erik@colosa.com>
*/
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')) {
throw new Exception('Fatal Error: Phing is not loaded!');
if (! class_exists( 'Phing' )) {
throw new Exception( 'Fatal Error: Phing is not loaded!' );
}
class pmPhing extends Phing
{
function getPhingVersion()
{
return 'pmPhing Ver 1.0';
}
}
public function getPhingVersion ()
{
return 'pmPhing Ver 1.0';
}
}