changes for phpdocumentator 3

This commit is contained in:
Gustavo Adolfo Cruz Laura
2011-01-24 20:47:37 +00:00
parent 65c82749ee
commit 8653fab9c3
3 changed files with 15 additions and 20 deletions

View File

@@ -1,9 +1,10 @@
<?php <?php
/** /**
* class.g.php * class.g.php
* @package gulliver.system
* *
* 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
@@ -1852,13 +1853,11 @@ class G
} }
/** /**
* Function LoadTranslationObject * Function LoadTranslationObject
* @description It generates a global Translation variable that will be used in all the system. Per script * It generates a global Translation variable that will be used in all the system. Per script
* @author Hugo Loza. <hugo@colosa.com> * @author Hugo Loza. <hugo@colosa.com>
* @access public * @access public
* @parameter string lang * @parameter string lang
* @return void * @return void
*
* @note Refactored By Erik A.O. <erik@colosa.com> in Sep 9th, 2010
*/ */
function LoadTranslationObject($lang = SYS_LANG){ function LoadTranslationObject($lang = SYS_LANG){
$defaultTranslations = Array(); $defaultTranslations = Array();
@@ -2479,7 +2478,6 @@ class G
################################################################################################ ################################################################################################
# Added for compatibility betweek aplication called from web Entry that uses just WS functions # Added for compatibility betweek aplication called from web Entry that uses just WS functions
# @By neyek
################################################################################################ ################################################################################################
if( $params != NULL ){ if( $params != NULL ){
@@ -2552,8 +2550,7 @@ class G
* Xml parse collection functions * Xml parse collection functions
* Returns a associative array within the xml structure and data * Returns a associative array within the xml structure and data
* *
* @Author Erik Amaru Ortiz <erik@colosa.com> * @author Erik Amaru Ortiz <erik@colosa.com>
* @Date Aug 24th, 2009
*/ */
function xmlParser(&$string) { function xmlParser(&$string) {
$parser = xml_parser_create(); $parser = xml_parser_create();
@@ -2697,10 +2694,10 @@ class G
/** /**
* Inflects a string with accented characters and other characteres not suitable for file names, by defaul replace with undescore * Inflects a string with accented characters and other characteres not suitable for file names, by defaul replace with undescore
* *
* @Author Erik Amaru Ortiz <erik@colosa.com, aortiz.erik@gamil.com> * @author Erik Amaru Ortiz <erik@colosa.com, aortiz.erik@gamil.com>
* @Param (string) string to convert * @param (string) string to convert
* @Param (string) character for replace * @param (string) character for replace
* @Param (array) additional characteres map * @param (array) additional characteres map
* *
*/ */
function inflect($string, $replacement = '_', $map = array()) { function inflect($string, $replacement = '_', $map = array()) {
@@ -2775,7 +2772,7 @@ class G
/** /**
* Get the temporal directory path on differents O.S. i.e. /temp -> linux, C:/Temp -> win * Get the temporal directory path on differents O.S. i.e. /temp -> linux, C:/Temp -> win
* @By <erik@colosa.com> * @author <erik@colosa.com>
*/ */
function getSysTemDir() { function getSysTemDir() {
if ( !function_exists('sys_get_temp_dir') ){ if ( !function_exists('sys_get_temp_dir') ){
@@ -2809,7 +2806,7 @@ class G
* Get the content of a compose pmos web service response * Get the content of a compose pmos web service response
* Returns an array when has a valid reponse, if the response is invalid returns an object containing a status_code and message properties. * Returns an array when has a valid reponse, if the response is invalid returns an object containing a status_code and message properties.
* *
* @By <erik@colosa.com> * @author <erik@colosa.com>
*/ */
function PMWSCompositeResponse($oResp, $prop) { function PMWSCompositeResponse($oResp, $prop) {
$Resp = new stdClass(); $Resp = new stdClass();
@@ -2863,7 +2860,6 @@ class G
* Validate and emai address in complete forms, * Validate and emai address in complete forms,
* *
* @author Erik A.O. <erik@gmail.com, aortiz.erik@gmail.com> * @author Erik A.O. <erik@gmail.com, aortiz.erik@gmail.com>
* @date Apr 29th, 2010
* i.e. if the param. is 'erik a.o. <erik@colosa.com>' * i.e. if the param. is 'erik a.o. <erik@colosa.com>'
* -> returns a object within $o->email => erik@colosa.com and $o->name => erik A.O. in other case returns false * -> returns a object within $o->email => erik@colosa.com and $o->name => erik A.O. in other case returns false
* *
@@ -2894,7 +2890,6 @@ class G
* JSON encode * JSON encode
* *
* @author Erik A.O. <erik@gmail.com, aortiz.erik@gmail.com> * @author Erik A.O. <erik@gmail.com, aortiz.erik@gmail.com>
* @date Apr 29th, 2010
*/ */
function json_encode($Json){ function json_encode($Json){
if( function_exists('json_encode') ){ if( function_exists('json_encode') ){
@@ -2910,7 +2905,6 @@ class G
* JSON decode * JSON decode
* *
* @author Erik A.O. <erik@gmail.com, aortiz.erik@gmail.com> * @author Erik A.O. <erik@gmail.com, aortiz.erik@gmail.com>
* @date Apr 29th, 2010
*/ */
function json_decode($Json){ function json_decode($Json){
if( function_exists('json_decode') ){ if( function_exists('json_decode') ){

View File

@@ -1,9 +1,10 @@
<?php <?php
/** /**
* class.headPublisher.php * class.headPublisher.php
* @package gulliver.system
* *
* ProcessMaker Open Source Edition * ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2008 Colosa Inc. * 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

View File

@@ -1,9 +1,10 @@
<?php <?php
/** /**
* class.form.php * class.helper.php
* @package gulliver.system
* *
* 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
@@ -28,7 +29,6 @@
* @author Erik Amaru Ortiz. <erik@colosa.com> * @author Erik Amaru Ortiz. <erik@colosa.com>
* @package gulliver.system * @package gulliver.system
* @access public * @access public
* @dependencies none
*/ */
class Helper{ class Helper{