From 48f6f4bea4ac2f70a730721ca9413d9ad8dd70b8 Mon Sep 17 00:00:00 2001 From: Gustavo Adolfo Cruz Laura Date: Mon, 24 Jan 2011 21:33:39 +0000 Subject: [PATCH] changes for phpdocumentator 4 --- gulliver/system/class.objectTemplate.php | 1 - gulliver/system/class.pagedTable.php | 1 - gulliver/system/class.rbac.php | 2 +- gulliver/system/class.table.php | 69 +------------ gulliver/system/class.xmlDocument.php | 2 - gulliver/system/class.xmlMenu.php | 1 + gulliver/system/class.xmlform.php | 112 ++++++++++----------- gulliver/system/class.xmlformExtension.php | 6 +- gulliver/system/class.ymlDomain.php | 4 + 9 files changed, 68 insertions(+), 130 deletions(-) diff --git a/gulliver/system/class.objectTemplate.php b/gulliver/system/class.objectTemplate.php index 86ab3b57e..e5dc3cc79 100644 --- a/gulliver/system/class.objectTemplate.php +++ b/gulliver/system/class.objectTemplate.php @@ -28,7 +28,6 @@ * Class objectTemplate * @package gulliver.system * @access public - * @dependencies smarty */ class objectTemplate extends smarty diff --git a/gulliver/system/class.pagedTable.php b/gulliver/system/class.pagedTable.php index da63ea5d4..4c0ddfd7d 100644 --- a/gulliver/system/class.pagedTable.php +++ b/gulliver/system/class.pagedTable.php @@ -32,7 +32,6 @@ G::LoadClass('xmlMenu'); * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies DBConnection DBSession TemplatePower Form XmlForm */ class pagedTable diff --git a/gulliver/system/class.rbac.php b/gulliver/system/class.rbac.php index d77463417..bef0e6935 100644 --- a/gulliver/system/class.rbac.php +++ b/gulliver/system/class.rbac.php @@ -536,7 +536,7 @@ class RBAC * @param string $systemCode * @return $this->rolesObj */ - /** @erik adds ****/ + function listAllRoles ( $systemCode = 'PROCESSMAKER') { return $this->rolesObj->listAllRoles($systemCode); } diff --git a/gulliver/system/class.table.php b/gulliver/system/class.table.php index e8d4cbd34..42b2555e1 100644 --- a/gulliver/system/class.table.php +++ b/gulliver/system/class.table.php @@ -1,9 +1,10 @@ ($field)<- - * incluye los par?ntesis. La sintaxis es similar a la de texto, - pero al final se incluye un par?metro que es la im?gen - * 11-Feb-2005 Fernando Ontiveros Lira - * Se agrega el Campo BOLD_FIELD para indicar que un registro debe - * ser mostrado en negrita - * - * 01-Jun-2005 Fernando Ontiveros Lira - * Se agrega el Campo TOOL_TIP para mostrar el tooltip o hint que - * aparece cuando se mueve el cursor en un link - * - * 30-Jul-2003 Fernando Ontiveros Lira - * La funcion AddRawColumn soporta ahora el nuevo tipo jsimagelink - * Utilizado para crear enlaces tipo javascript - * - * 2-Abr-2003 Hardy Beltran Monasterios - * La funcion AddRawColumn soporta ahora el nuevo tipo jslink - * Utilizado para crear enlaces tipo javascript - * - * 3-Abr-2003 Hardy Beltran Monasterios - * La funcion RenderColumn admite un valor de columna constante, - * si el valor (2do par?metro) empieza por el signo '=' - * - * La funcion AddRawColumn soporta un par?metro extra, que es - * incluido al final en las columnas tipo link (link, iflink, - * jslink). Se penso su uso para eventos JavaScript, como - * onCLick - * - * 8-Abr-2003 Hardy Beltran Monasterios - * Se ha agregado nuevas funciones para que sea posible - * traducir o convertir el valor recuperado de una tabla - * Por ejemplo si una tabla contiene una columna con valores - * numericos estos pueden ser convertidos a un texto, que es - * mostrado en la tabla. Para ver un ejemplo de su uso vea el - * archivo /home/wf/engine/tables/tramite.history.del.php: - * Vea las funciones: - * - setTranslate - * - translateValue - * - setContext - * 10-Abr-2003 Fernando Ontiveros - * El tipo 'checkbox' dibujar el control con la marca de seleccion - * si tiene cualquiera de los siguientes valores: - * 'TRUE', 'yes', 1 - * - * 2-Jun-2003 Hardy Beltran Monasterios - * La funci?n AddRawColumn soporta ahora arreglos como parametros - * para el link, para permitir pasar varios valores. - * - ************************************************************************/ - - class Table { var $Columns = NULL; diff --git a/gulliver/system/class.xmlDocument.php b/gulliver/system/class.xmlDocument.php index d96dc6871..9b6ed7b7f 100644 --- a/gulliver/system/class.xmlDocument.php +++ b/gulliver/system/class.xmlDocument.php @@ -28,7 +28,6 @@ * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies Xml_Node */ class Xml_Node { @@ -233,7 +232,6 @@ class Xml_Node * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies Xml_Node */ class Xml_document extends Xml_Node { diff --git a/gulliver/system/class.xmlMenu.php b/gulliver/system/class.xmlMenu.php index 468692f32..c37667b59 100644 --- a/gulliver/system/class.xmlMenu.php +++ b/gulliver/system/class.xmlMenu.php @@ -36,6 +36,7 @@ * XmlForm_Field_XmlMenu * * extends XmlForm_Field + * @package gulliver.system * */ class XmlForm_Field_XmlMenu extends XmlForm_Field diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 079bf77a7..b3c1d4e0b 100644 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -28,7 +28,6 @@ * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies Services_JSON */ class XmlForm_Field { var $name = ''; @@ -672,7 +671,6 @@ class XmlForm_Field { * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_Title extends XmlForm_Field { @@ -701,7 +699,6 @@ class XmlForm_Field_Title extends XmlForm_Field * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_Subtitle extends XmlForm_Field { @@ -731,7 +728,6 @@ class XmlForm_Field_Subtitle extends XmlForm_Field * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_SimpleText extends XmlForm_Field { @@ -810,7 +806,6 @@ class XmlForm_Field_SimpleText extends XmlForm_Field * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field_SimpleText */ class XmlForm_Field_Text extends XmlForm_Field_SimpleText { @@ -940,7 +935,6 @@ class XmlForm_Field_Text extends XmlForm_Field_SimpleText * @author Erik Amaru Ortiz * @package gulliver.system * @access public - * @dependencies XmlForm_Field_SimpleText */ class XmlForm_Field_Suggest extends XmlForm_Field_SimpleText //by neyek { @@ -1226,7 +1220,6 @@ class XmlForm_Field_Caption extends XmlForm_Field { * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_Password extends XmlForm_Field { var $size = 15; @@ -1275,7 +1268,6 @@ class XmlForm_Field_Password extends XmlForm_Field { * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_Textarea extends XmlForm_Field { var $rows = 12; @@ -1378,7 +1370,6 @@ class XmlForm_Field_Textarea extends XmlForm_Field { * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field_SimpleText */ class XmlForm_Field_Currency extends XmlForm_Field_SimpleText { var $group = 0; @@ -1430,6 +1421,9 @@ class XmlForm_Field_Currency extends XmlForm_Field_SimpleText { } /*DEPRECATED*/ +/** + * @package gulliver.system + */ class XmlForm_Field_CaptionCurrency extends XmlForm_Field { /** * Function render @@ -1447,7 +1441,6 @@ class XmlForm_Field_CaptionCurrency extends XmlForm_Field { * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field_SimpleText */ class XmlForm_Field_Percentage extends XmlForm_Field_SimpleText { var $size = 15; @@ -1491,14 +1484,10 @@ class XmlForm_Field_Percentage extends XmlForm_Field_SimpleText { } /*DEPRECATED*/ +/** + * @package gulliver.system + */ class XmlForm_Field_CaptionPercentage extends XmlForm_Field { - /** - * Function render - * @author David S. Callizaya S. - * @access public - * @param string value - * @return string - */ function render($value = NULL) { return $this->htmlentities ( $value, ENT_COMPAT, 'utf-8' ); } @@ -1508,7 +1497,6 @@ class XmlForm_Field_CaptionPercentage extends XmlForm_Field { * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field_SimpleText */ class XmlForm_Field_Date2 extends XmlForm_Field_SimpleText { //Instead of size --> startDate @@ -1723,15 +1711,11 @@ class XmlForm_Field_Date2 extends XmlForm_Field_SimpleText { } /*DEPRECATED*/ +/** + * @package gulliver.system + */ class XmlForm_Field_DateView extends XmlForm_Field { - /** - * Function render - * @author David S. Callizaya S. - * @access public - * @param string value - * @return string - */ function render($value = NULL) { return $this->htmlentities ( $value, ENT_COMPAT, 'utf-8' ); @@ -1742,7 +1726,6 @@ class XmlForm_Field_DateView extends XmlForm_Field * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_YesNo extends XmlForm_Field { @@ -1805,7 +1788,6 @@ class XmlForm_Field_YesNo extends XmlForm_Field * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_Link extends XmlForm_Field { //Instead of var --> link @@ -1883,7 +1865,6 @@ class XmlForm_Field_Link extends XmlForm_Field { * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_File extends XmlForm_Field { var $required = false; @@ -1919,7 +1900,13 @@ class XmlForm_Field_File extends XmlForm_Field { } } -/*hook, dropdown field for Propel table @By */ +/** + * Class XmlForm_Field_Dropdownpt + * hook, dropdown field for Propel table + * @author Erik Amaru + * @package gulliver.system + * @access public + */ class XmlForm_Field_Dropdownpt extends XmlForm_Field { var $value; @@ -1947,7 +1934,13 @@ class XmlForm_Field_Dropdownpt extends XmlForm_Field { } } -/*hook, checkbox field for Propel table @By */ +/** + * Class XmlForm_Field_Checkboxpt + * checkbox field for Propel table + * @author Erik Amaru + * @package gulliver.system + * @access public + */ class XmlForm_Field_Checkboxpt extends XmlForm_Field { var $required = false; var $value = 'on'; @@ -2001,6 +1994,12 @@ class XmlForm_Field_Checkboxpt extends XmlForm_Field { } } +/** + * Class XmlForm_Field_Checkbox + * @author Erik Amaru + * @package gulliver.system + * @access public + */ class XmlForm_Field_Checkbox extends XmlForm_Field { var $required = false; @@ -2100,15 +2099,11 @@ class XmlForm_Field_Checkbox extends XmlForm_Field } /*DEPRECATED*/ +/** + * @package gulliver.system + */ class XmlForm_Field_Checkbox2 extends XmlForm_Field { var $required = false; - /** - * Function render - * @author David S. Callizaya S. - * @access public - * @param string value - * @return string - */ function render($value = NULL) { return '' . $this->label . ''; } @@ -2118,7 +2113,6 @@ class XmlForm_Field_Checkbox2 extends XmlForm_Field { * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_Button extends XmlForm_Field { @@ -2151,7 +2145,6 @@ class XmlForm_Field_Button extends XmlForm_Field * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_Reset extends XmlForm_Field { @@ -2175,7 +2168,6 @@ class XmlForm_Field_Reset extends XmlForm_Field * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_Submit extends XmlForm_Field { var $onclick = ''; @@ -2204,7 +2196,6 @@ class XmlForm_Field_Submit extends XmlForm_Field { * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_Hidden extends XmlForm_Field { @@ -2280,7 +2271,6 @@ class XmlForm_Field_Hidden extends XmlForm_Field * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_Dropdown extends XmlForm_Field { var $defaultValue = ''; @@ -2397,7 +2387,6 @@ class XmlForm_Field_Dropdown extends XmlForm_Field { * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_Listbox extends XmlForm_Field { @@ -2479,7 +2468,6 @@ class XmlForm_Field_Listbox extends XmlForm_Field * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_RadioGroup extends XmlForm_Field { var $defaultValue = ''; @@ -2553,6 +2541,9 @@ class XmlForm_Field_RadioGroup extends XmlForm_Field { } /*DEPRECATED*/ +/* + * @package gulliver.system +*/ class XmlForm_Field_RadioGroupView extends XmlForm_Field { var $defaultValue = ''; @@ -2585,7 +2576,6 @@ class XmlForm_Field_RadioGroupView extends XmlForm_Field * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_CheckGroup extends XmlForm_Field { @@ -2646,6 +2636,10 @@ class XmlForm_Field_CheckGroup extends XmlForm_Field } /* TODO: DEPRECATED */ +/* + * @package gulliver.system +*/ + class XmlForm_Field_CheckGroupView extends XmlForm_Field { var $option = array (); @@ -2673,7 +2667,6 @@ class XmlForm_Field_CheckGroupView extends XmlForm_Field * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field XmlForm xmlformTemplate */ class XmlForm_Field_Grid extends XmlForm_Field { @@ -2823,7 +2816,6 @@ class XmlForm_Field_Grid extends XmlForm_Field * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies XmlForm_Field */ class XmlForm_Field_JavaScript extends XmlForm_Field { @@ -2898,11 +2890,11 @@ class XmlForm_Field_JavaScript extends XmlForm_Field } /** - * @Description Calendar Widget with Javascript Routines - * @Author Erik amaru Ortiz - * @creation date 2008-07-25 + * @description Calendar Widget with Javascript Routines + * @author Erik amaru Ortiz * @Last Modification 2008-07-29 * @Modification 2008-07-29 Comment Working for after and before date attributes + * @package gulliver.system */ class XmlForm_Field_Date extends XmlForm_Field_SimpleText { @@ -3190,9 +3182,9 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText /** - * @Description Calendar Widget with Javascript Routines - * @Author Erik amaru Ortiz - * @creation date Oct 5th, 2009 + * @description Calendar Widget with Javascript Routines + * @author Erik amaru Ortiz + * @package gulliver.system */ class XmlForm_Field_Date5 extends XmlForm_Field_SimpleText { @@ -3562,9 +3554,12 @@ class XmlForm_Field_Date5 extends XmlForm_Field_SimpleText } } -/** AVOID TO ENTER HERE : EXPERIMENTAL !!! - * by Caleeli. - */ + +/* + * @package gulliver.system + * AVOID TO ENTER HERE : EXPERIMENTAL !!! + * by Caleeli. +*/ class XmlForm_Field_Xmlform extends XmlForm_Field { var $xmlfile = ''; var $initRows = 1; @@ -3647,7 +3642,6 @@ class XmlForm_Field_Xmlform extends XmlForm_Field { * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies Xml_document XmlForm_Field xmlformTemplate */ class XmlForm { @@ -3906,7 +3900,6 @@ class XmlForm * @author David S. Callizaya S. * @package gulliver.system * @access public - * @dependencies Smarty */ class xmlformTemplate extends Smarty { @@ -4182,6 +4175,9 @@ class xmlformTemplate extends Smarty } +/** + * @package gulliver.system +*/ class XmlForm_Field_Image extends XmlForm_Field { diff --git a/gulliver/system/class.xmlformExtension.php b/gulliver/system/class.xmlformExtension.php index 4e0951cb1..4861f1e60 100644 --- a/gulliver/system/class.xmlformExtension.php +++ b/gulliver/system/class.xmlformExtension.php @@ -34,9 +34,11 @@ class XmlForm_Field_Label extends XmlForm_Field var $align = 'left'; } -/* Special class for pagedTable +/* + * Special class for pagedTable * condition: PHP expression whose result defines whether to "mark" * the following columns (that is if true) + * @package gulliver.system */ class XmlForm_Field_cellMark extends XmlForm_Field { @@ -133,7 +135,7 @@ class XmlForm_Field_DVEditor extends XmlForm_Field * * The PAGED_TABLE_ID reserved field must be defined in the xml. * Use PAGED_TABLE_FAST_SEARCH reserved field, it contains the saved value for each table. - * @example + * example: * Ex1. * * diff --git a/gulliver/system/class.ymlDomain.php b/gulliver/system/class.ymlDomain.php index c091cd201..0dea996b6 100644 --- a/gulliver/system/class.ymlDomain.php +++ b/gulliver/system/class.ymlDomain.php @@ -23,6 +23,10 @@ * Coral Gables, FL, 33134, USA, or email info@colosa.com. * */ + /** + * @package gulliver.system + */ + require_once( PATH_THIRDPARTY.'lime/yaml.class.php'); /** * ymlDomain class