Changes done for PhpDoc
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* gulliver.php
|
* gulliver.php
|
||||||
|
* @package gulliver.bin.tasks
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -21,8 +22,6 @@
|
|||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
*
|
||||||
* /**
|
|
||||||
* @package gulliver.bin.tasks
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -32,6 +31,10 @@
|
|||||||
|
|
||||||
// set magic_quotes_runtime to off
|
// set magic_quotes_runtime to off
|
||||||
ini_set('magic_quotes_runtime', 'Off');
|
ini_set('magic_quotes_runtime', 'Off');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
|
*/
|
||||||
require_once( PATH_THIRDPARTY . 'pake' . PATH_SEP . 'pakeFunction.php');
|
require_once( PATH_THIRDPARTY . 'pake' . PATH_SEP . 'pakeFunction.php');
|
||||||
require_once( PATH_THIRDPARTY . 'pake' . PATH_SEP . 'pakeGetopt.class.php');
|
require_once( PATH_THIRDPARTY . 'pake' . PATH_SEP . 'pakeGetopt.class.php');
|
||||||
require_once( PATH_CORE . 'config' . PATH_SEP . 'environments.php');
|
require_once( PATH_CORE . 'config' . PATH_SEP . 'environments.php');
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* pakeBase.php
|
* pakeBase.php
|
||||||
|
* @package gulliver.bin.tasks
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -21,8 +22,6 @@
|
|||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
*
|
||||||
* /**
|
|
||||||
* @package gulliver.bin.tasks
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -30,6 +29,11 @@ pake_task('project_exists');
|
|||||||
pake_task('app_exists', 'project_exists');
|
pake_task('app_exists', 'project_exists');
|
||||||
pake_task('module_exists', 'app_exists');
|
pake_task('module_exists', 'app_exists');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function run_project_exists
|
||||||
|
* access public
|
||||||
|
*/
|
||||||
|
|
||||||
function run_project_exists($task, $args)
|
function run_project_exists($task, $args)
|
||||||
{
|
{
|
||||||
// if (!file_exists('pre_processor.php'))
|
// if (!file_exists('pre_processor.php'))
|
||||||
@@ -40,6 +44,10 @@ function run_project_exists($task, $args)
|
|||||||
// pake_properties('config/properties.ini');
|
// pake_properties('config/properties.ini');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function run_app_exists
|
||||||
|
* access public
|
||||||
|
*/
|
||||||
function run_app_exists($task, $args)
|
function run_app_exists($task, $args)
|
||||||
{
|
{
|
||||||
if (!count($args))
|
if (!count($args))
|
||||||
|
|||||||
@@ -2,9 +2,10 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* pakeGulliver.php
|
* pakeGulliver.php
|
||||||
|
* @package gulliver.bin.tasks
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -21,8 +22,8 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*
|
||||||
* @package gulliver.bin.tasks
|
*
|
||||||
*/
|
*/
|
||||||
//dont work mb_internal_encoding('UTF-8');
|
//dont work mb_internal_encoding('UTF-8');
|
||||||
|
|
||||||
@@ -63,6 +64,11 @@ pake_task('workspace-restore', 'project_exists');
|
|||||||
pake_desc("check standard code\n args: <directory>");
|
pake_desc("check standard code\n args: <directory>");
|
||||||
pake_task('check-standard-code', 'project_exists' );
|
pake_task('check-standard-code', 'project_exists' );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function run_version
|
||||||
|
* access public
|
||||||
|
*/
|
||||||
|
|
||||||
function run_version($task, $args) {
|
function run_version($task, $args) {
|
||||||
printf("Gulliver version %s\n", pakeColor::colorize(trim(file_get_contents(PATH_GULLIVER . 'VERSION')), 'INFO'));
|
printf("Gulliver version %s\n", pakeColor::colorize(trim(file_get_contents(PATH_GULLIVER . 'VERSION')), 'INFO'));
|
||||||
exit(0);
|
exit(0);
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* pakePropel.php
|
* pakePropel.php
|
||||||
|
* @package gulliver.bin.tasks
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.23
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -20,8 +21,7 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*
|
||||||
* @package gulliver.bin.tasks
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -68,6 +68,11 @@ pake_task('propel-insert-sql', 'project_exists');
|
|||||||
//pake_desc('generate propel model and sql and initialize database, and load data');
|
//pake_desc('generate propel model and sql and initialize database, and load data');
|
||||||
//pake_task('propel-build-all-load', 'propel-build-all');
|
//pake_task('propel-build-all-load', 'propel-build-all');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function run_propel_convert_yml_schema
|
||||||
|
* access public
|
||||||
|
*/
|
||||||
|
|
||||||
function run_propel_convert_yml_schema($task, $args)
|
function run_propel_convert_yml_schema($task, $args)
|
||||||
{
|
{
|
||||||
_propel_convert_yml_schema(true);
|
_propel_convert_yml_schema(true);
|
||||||
@@ -351,8 +356,8 @@ function run_propel_build_schema($task, $args)
|
|||||||
/**
|
/**
|
||||||
* Dumps yml database data to fixtures directory.
|
* Dumps yml database data to fixtures directory.
|
||||||
*
|
*
|
||||||
* @example symfony dump-data frontend data.yml
|
* example symfony dump-data frontend data.yml
|
||||||
* @example symfony dump-data frontend data.yml dev
|
* example symfony dump-data frontend data.yml dev
|
||||||
*
|
*
|
||||||
* @param object $task
|
* @param object $task
|
||||||
* @param array $args
|
* @param array $args
|
||||||
@@ -385,8 +390,8 @@ function run_propel_dump_data($task, $args)
|
|||||||
/**
|
/**
|
||||||
* Loads yml data from fixtures directory and inserts into database.
|
* Loads yml data from fixtures directory and inserts into database.
|
||||||
*
|
*
|
||||||
* @example symfony load-data frontend
|
* example symfony load-data frontend
|
||||||
* @example symfony load-data frontend dev fixtures append
|
* example symfony load-data frontend dev fixtures append
|
||||||
*
|
*
|
||||||
* @todo replace delete argument with flag -d
|
* @todo replace delete argument with flag -d
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* pakeTest.php
|
* pakeTest.php
|
||||||
|
* @package gulliver.bin.tasks
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.23
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -20,8 +21,7 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*
|
||||||
* @package gulliver.bin.tasks
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -35,6 +35,11 @@ pake_task('test-functional', 'project_exists');
|
|||||||
pake_desc('launch all tests');
|
pake_desc('launch all tests');
|
||||||
pake_task('test-all', 'project_exists');
|
pake_task('test-all', 'project_exists');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function run_test_all
|
||||||
|
* access public
|
||||||
|
*/
|
||||||
|
|
||||||
function run_test_all($task, $args)
|
function run_test_all($task, $args)
|
||||||
{
|
{
|
||||||
require_once(sfConfig::get('sf_symfony_lib_dir').'/lime/lime.php');
|
require_once(sfConfig::get('sf_symfony_lib_dir').'/lime/lime.php');
|
||||||
|
|||||||
Reference in New Issue
Block a user