Changes done for PhpDoc
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* cli.php
|
* cli.php
|
||||||
|
* @package workflow-engine-bin
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2011 Colosa Inc.
|
* Copyright (C) 2011 Colosa Inc.
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* cron.php
|
||||||
|
* @package workflow-engine-bin
|
||||||
|
*/
|
||||||
ini_set('display_errors', 1);
|
ini_set('display_errors', 1);
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
ini_set('memory_limit', '300M'); // nore: this may need to be higher for many projects
|
ini_set('memory_limit', '300M'); // nore: this may need to be higher for many projects
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* cron_single.php
|
||||||
|
* @package workflow-engine-bin
|
||||||
|
*/
|
||||||
ini_set('display_errors', 1);
|
ini_set('display_errors', 1);
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
ini_set('memory_limit', '128M');
|
ini_set('memory_limit', '128M');
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
*
|
*
|
||||||
* @author Alexandre Rosenfeld <alexandre@colosa.com>
|
* @author Alexandre Rosenfeld <alexandre@colosa.com>
|
||||||
* @package workflow-engine-bin-tasks
|
* @package workflow-engine-bin-tasks
|
||||||
**/
|
*/
|
||||||
|
|
||||||
/* Get the size of the terminal (only works on Linux, on Windows it's always 80) */
|
/* Get the size of the terminal (only works on Linux, on Windows it's always 80) */
|
||||||
preg_match_all("/rows.([0-9]+);.columns.([0-9]+);/", strtolower(exec('stty -a |grep columns')), $output);
|
preg_match_all("/rows.([0-9]+);.columns.([0-9]+);/", strtolower(exec('stty -a |grep columns')), $output);
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
*
|
*
|
||||||
* @author Alexandre Rosenfeld <alexandre@colosa.com>
|
* @author Alexandre Rosenfeld <alexandre@colosa.com>
|
||||||
* @package workflow-engine-bin-tasks
|
* @package workflow-engine-bin-tasks
|
||||||
**/
|
*/
|
||||||
|
|
||||||
G::LoadClass("system");
|
G::LoadClass("system");
|
||||||
G::LoadClass("wsTools");
|
G::LoadClass("wsTools");
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
*
|
*
|
||||||
* @author Alexandre Rosenfeld <alexandre@colosa.com>
|
* @author Alexandre Rosenfeld <alexandre@colosa.com>
|
||||||
* @package workflow-engine-bin-tasks
|
* @package workflow-engine-bin-tasks
|
||||||
**/
|
*/
|
||||||
|
|
||||||
CLI::taskName('info');
|
CLI::taskName('info');
|
||||||
CLI::taskDescription(<<<EOT
|
CLI::taskDescription(<<<EOT
|
||||||
@@ -145,6 +145,10 @@ EOT
|
|||||||
CLI::taskArg('workspace-name', true, true);
|
CLI::taskArg('workspace-name', true, true);
|
||||||
CLI::taskRun(run_translation_upgrade);
|
CLI::taskRun(run_translation_upgrade);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function run_info
|
||||||
|
* access public
|
||||||
|
*/
|
||||||
function run_info($args, $opts) {
|
function run_info($args, $opts) {
|
||||||
$workspaces = get_workspaces_from_args($args, false);
|
$workspaces = get_workspaces_from_args($args, false);
|
||||||
workspaceTools::printSysInfo();
|
workspaceTools::printSysInfo();
|
||||||
|
|||||||
Reference in New Issue
Block a user