Changes made for documentation

This commit is contained in:
Abraar
2011-01-14 11:51:34 +00:00
parent 7acf08c96c
commit 1ca4d3b71e
31 changed files with 158 additions and 79 deletions

View File

@@ -23,6 +23,10 @@
* *
*/ */
/**
* @package gulliver.system
*/
G::LoadSystem('database_base'); G::LoadSystem('database_base');
class database extends database_base { class database extends database_base {
@@ -424,8 +428,8 @@ class database extends database_base {
* concatString * concatString
* Generates a string equivalent to the chosen database. * Generates a string equivalent to the chosen database.
* *
* @author Hector Cortez <hector@gmail.com> * author Hector Cortez <hector@gmail.com>
* @date 2010-08-04 * date 2010-08-04
* *
* @return string $sConcat * @return string $sConcat
*/ */
@@ -697,7 +701,7 @@ class database extends database_base {
/** /**
* It is part of class.pagedTable.php * It is part of class.pagedTable.php
* * @package gulliver.system
*/ */
function getLimitRenderTable($nCurrentPage, $nRowsPerPage) function getLimitRenderTable($nCurrentPage, $nRowsPerPage)
{ {

View File

@@ -23,6 +23,10 @@
* *
*/ */
/**
* @package gulliver.system
*/
G::LoadSystem('database_base'); G::LoadSystem('database_base');
class database extends database_base { class database extends database_base {
@@ -443,8 +447,8 @@ class database extends database_base {
* concatString * concatString
* Generates a string equivalent to the chosen database. * Generates a string equivalent to the chosen database.
* *
* @author Hector Cortez <hector@gmail.com> * author Hector Cortez <hector@gmail.com>
* @date 2010-08-04 * date 2010-08-04
* *
* @return string $sConcat * @return string $sConcat
*/ */
@@ -475,8 +479,8 @@ class database extends database_base {
* concatString * concatString
* Generates a string equivalent to the case when * Generates a string equivalent to the case when
* *
* @author Hector Cortez <hector@gmail.com> * author Hector Cortez <hector@gmail.com>
* @date 2010-08-04 * date 2010-08-04
* *
* @return string $sCompare * @return string $sCompare
*/ */
@@ -696,7 +700,7 @@ class database extends database_base {
/** /**
* It is part of class.pagedTable.php * It is part of class.pagedTable.php
* * @package gulliver.system
*/ */
function getLimitRenderTable($nCurrentPage, $nRowsPerPage) function getLimitRenderTable($nCurrentPage, $nRowsPerPage)
{ {

View File

@@ -27,8 +27,10 @@
* *
* Database Maintenance class * Database Maintenance class
* *
* @author Erik A. Ortiz <erik@colosa.com, aortiz.erik@gmail.com> * author Erik A. Ortiz <erik@colosa.com, aortiz.erik@gmail.com>
* @date May 17th, 2010 * date May 17th, 2010
*
* @package gulliver.system
*/ */
class DataBaseMaintenance class DataBaseMaintenance

View File

@@ -23,7 +23,7 @@
* *
*/ */
/** /**
* @package home.gulliver.system2 * @package gulliver.system
*/ */
/** /**
* require dummy line * require dummy line
@@ -39,7 +39,7 @@ define ( 'DB_ERROR_SHOWALL_AND_CONTINUE', 4);
/** /**
* DBConnection class definition * DBConnection class definition
* It is useful to stablish a connection * It is useful to stablish a connection
* @package home.gulliver.system2 * @package gulliver.system
* @author Fernando Ontiveros Lira <fernando@colosa.com> * @author Fernando Ontiveros Lira <fernando@colosa.com>
* @copyright (C) 2002 by Colosa Development Team. * @copyright (C) 2002 by Colosa Development Team.
*/ */

View File

@@ -23,12 +23,13 @@
* *
*/ */
/** /**
* @package home.gulliver.system2 * @package gulliver.system
*/ */
/** /**
* DBRecordset class definition * DBRecordset class definition
* Provides access to a generalized table it assumes that the dbconnection object is already initialized for the table should be also provided in order to provide * Provides access to a generalized table it assumes that the dbconnection object is already initialized for the table should be also provided in order to provide
* @package home.gulliver.system2 * @package gulliver.system
*
* @author Fernando Ontiveros Lira <fernando@colosa.com> * @author Fernando Ontiveros Lira <fernando@colosa.com>
* @copyright (C) 2002 by Colosa Development Team. * @copyright (C) 2002 by Colosa Development Team.
*/ */

View File

@@ -23,13 +23,13 @@
* *
*/ */
/** /**
* @package home.gulliver.system2 * @package gulliver.system
*/ */
/** /**
* DBSession class definition * DBSession class definition
* It is useful to stablish a database connection using an specific database * It is useful to stablish a database connection using an specific database
* @package home.gulliver.system2 * @package gulliver.system
* @author Fernando Ontiveros Lira <fernando@colosa.com> * @author Fernando Ontiveros Lira <fernando@colosa.com>
* @copyright (C) 2002 by Colosa Development Team. * @copyright (C) 2002 by Colosa Development Team.
* *

View File

@@ -23,7 +23,7 @@
* *
*/ */
/** /**
* @package home.gulliver.system2 * @package gulliver.system
*/ */
/** /**
@@ -31,7 +31,7 @@
* This class provides acces to a generalized table * This class provides acces to a generalized table
* it assumes that the dbconnection object is already initialized, the table name, as well as the primary keys * it assumes that the dbconnection object is already initialized, the table name, as well as the primary keys
* for the table should be also provided in order to provide the class a way to generate an UPDATE query properly. * for the table should be also provided in order to provide the class a way to generate an UPDATE query properly.
* @package home.gulliver.system2 * @package gulliver.system
* @author Fernando Ontiveros Lira <fernando@colosa.com> * @author Fernando Ontiveros Lira <fernando@colosa.com>
* @copyright (C) 2002 by Colosa Development Team. * @copyright (C) 2002 by Colosa Development Team.
* *

View File

@@ -26,7 +26,7 @@
/** /**
* XmlForm_Field_HTML class definition * XmlForm_Field_HTML class definition
* It is useful to see dynaforms how are built * It is useful to see dynaforms how are built
* @package home.gulliver.system2 * @package gulliver.system
* @author * @author
* @copyright (C) 2002 by Colosa Development Team. * @copyright (C) 2002 by Colosa Development Team.
* *

View File

@@ -34,9 +34,10 @@
+-------------------------------------------------------------------------------------------------*/ +-------------------------------------------------------------------------------------------------*/
/** /**
* @Author Erik Amaru Ortiz * Author Erik Amaru Ortiz
* @Date Aug 26th, 2009 * Date Aug 26th, 2009
* @Description This class is a Dynaform handler for modify directly into file * Description This class is a Dynaform handler for modify directly into file
* @package gulliver.system
*/ */
class dynaFormHandler class dynaFormHandler

View File

@@ -50,6 +50,10 @@ define('G_ERROR_USER_INACTIVE', -116);
define('G_ERROR_DUE_DATE', -117); define('G_ERROR_DUE_DATE', -117);
define('G_ERROR_ALREADY_ASSIGNED', -118); define('G_ERROR_ALREADY_ASSIGNED', -118);
/**
* @package gulliver.system
*/
class G_Error extends PEAR_Error class G_Error extends PEAR_Error
{ {
/** /**
@@ -72,7 +76,7 @@ class G_Error extends PEAR_Error
/** /**
* this function returns the kind of Error * this function returns the kind of Error
* @author * @author
* * @package gulliver.system
* @access public * @access public
* @param string $code * @param string $code
* @return string * @return string

View File

@@ -22,6 +22,11 @@
* Coral Gables, FL, 33134, USA, or email info@colosa.com. * Coral Gables, FL, 33134, USA, or email info@colosa.com.
* *
*/ */
/**
* @package gulliver.system
**/
class filterForm extends form class filterForm extends form
{ {
var $cols = 3; var $cols = 3;
@@ -36,7 +41,7 @@ class filterForm extends form
* @param string $template * @param string $template
* @param string $scriptContent * @param string $scriptContent
* @return string * @return string
* * @package gulliver.system
*/ */
function render( $template, &$scriptContent ) function render( $template, &$scriptContent )
{ {

View File

@@ -22,6 +22,11 @@
* Coral Gables, FL, 33134, USA, or email info@colosa.com. * Coral Gables, FL, 33134, USA, or email info@colosa.com.
* *
*/ */
/**
* @package gulliver.system
**/
class functionTest class functionTest
{ {
var $dbc; var $dbc;

View File

@@ -24,7 +24,7 @@
*/ */
/** /**
* @package home.gulliver.system2 * @package gulliver.system
*/ */
class G class G
@@ -1542,7 +1542,6 @@ class G
/** /**
* Function MySQLSintaxis * Function MySQLSintaxis
* @access public * @access public
* @parameter
* @return Boolean * @return Boolean
**/ **/
function MySQLSintaxis() function MySQLSintaxis()

View File

@@ -22,6 +22,11 @@
* Coral Gables, FL, 33134, USA, or email info@colosa.com. * Coral Gables, FL, 33134, USA, or email info@colosa.com.
* *
*/ */
/**
* @package gulliver.system
**/
class XmlForm_Field_HTML extends XmlForm_Field_Textarea class XmlForm_Field_HTML extends XmlForm_Field_Textarea
{ {
/* //'default','office2003','silver' /* //'default','office2003','silver'
@@ -52,6 +57,7 @@ class XmlForm_Field_HTML extends XmlForm_Field_Textarea
* @access public * @access public
* @param string $element * @param string $element
* @return string * @return string
* @package gulliver.system
* *
*/ */
function attachEvents($element) { function attachEvents($element) {

View File

@@ -29,7 +29,7 @@
* *
* @package gulliver.system * @package gulliver.system
* @author Erik Amaru Ortiz <erik@colosa.com> * @author Erik Amaru Ortiz <erik@colosa.com>
* @date Aug 31th, 2010 * date Aug 31th, 2010
* @copyright (C) 2002 by Colosa Development Team. * @copyright (C) 2002 by Colosa Development Team.
*/ */

View File

@@ -38,6 +38,11 @@ G::LoadThirdParty('phpmailer','class.phpmailer');
* @author David Callizaya <davidsantos@colosa.com> * @author David Callizaya <davidsantos@colosa.com>
*/ */
/**
* @package gulliver.system
**/
class mailer class mailer
{ {
@@ -258,7 +263,7 @@ class mailer
* html2text * html2text
* *
* empty * empty
* * @package gulliver.system
* @return none * @return none
*/ */
function html2text() function html2text()

View File

@@ -23,13 +23,13 @@
* *
*/ */
/** /**
* @package home.gulliver.system2 * @package gulliver.system
*/ */
/** /**
* *
* Menu class definition * Menu class definition
* Render Menus * Render Menus
* @package home.gulliver.system2 * @package gulliver.system
* @author Fernando Ontiveros Lira <fernando@colosa.com> * @author Fernando Ontiveros Lira <fernando@colosa.com>
* @copyright (C) 2002 by Colosa Development Team. * @copyright (C) 2002 by Colosa Development Team.
* *

View File

@@ -23,13 +23,13 @@
* *
*/ */
/** /**
* @package gulliver.system2 * @package gulliver
*/ */
/** /**
* Publisher class definition * Publisher class definition
* It is to publish all content in a page * It is to publish all content in a page
* @package gulliver.system2 * @package gulliver.system
* @author Fernando Ontiveros Lira <fernando@colosa.com> * @author Fernando Ontiveros Lira <fernando@colosa.com>
* @copyright (C) 2002 by Colosa Development Team. * @copyright (C) 2002 by Colosa Development Team.
* *

View File

@@ -27,7 +27,7 @@
* *
* RBAC class definition * RBAC class definition
* *
* @package gulliver * @package gulliver.system
* @copyright (C) 2002 by Colosa Development Team. * @copyright (C) 2002 by Colosa Development Team.
* @link http://www.colosa.com * @link http://www.colosa.com
* *
@@ -39,7 +39,7 @@
/** /**
* Clase Wrapper * Clase Wrapper
* *
* @package rbac * @package gulliver.system
* @author Fernando Ontiveros * @author Fernando Ontiveros
*/ */

View File

@@ -23,13 +23,13 @@
* *
*/ */
/** /**
* @package home.gulliver.system2 * @package gulliver.system
*/ */
/** /**
* *
* Table class definition * Table class definition
* Render table * Render table
* @package home.gulliver.system2 * @package gulliver.system
* @author Fernando Ontiveros Lira <fernando@colosa.com> * @author Fernando Ontiveros Lira <fernando@colosa.com>
* @copyright (C) 2002 by Colosa Development Team. * @copyright (C) 2002 by Colosa Development Team.
* *

View File

@@ -60,7 +60,8 @@ define("TP_ROOTBLOCK", '_ROOT');
/** /**
* class TemplatePowerParser * class TemplatePowerParser
* * @package gulliver.system
*
*/ */
class TemplatePowerParser class TemplatePowerParser
{ {
@@ -79,7 +80,6 @@ class TemplatePowerParser
* *
* @param string $tpl_file * @param string $tpl_file
* @param string $type * @param string $type
* @return
* @access private * @access private
*/ */
function TemplatePowerParser( $tpl_file, $type ) function TemplatePowerParser( $tpl_file, $type )
@@ -94,7 +94,6 @@ class TemplatePowerParser
* TemplatePowerParser::__errorAlert() * TemplatePowerParser::__errorAlert()
* *
* @param string $message * @param string $message
* @return
* *
* @access private * @access private
*/ */
@@ -140,7 +139,6 @@ class TemplatePowerParser
* *
* @param string $tpl_file * @param string $tpl_file
* @param string $type * @param string $type
* @return
* @access private * @access private
*/ */
function __prepareTemplate( $tpl_file, $type ) function __prepareTemplate( $tpl_file, $type )
@@ -166,8 +164,7 @@ class TemplatePowerParser
* @param string $tplvar * @param string $tplvar
* @param string $blockname * @param string $blockname
* @param string $initdev * @param string $initdev
* @return * @access private
* @access private
*/ */
function __parseTemplate( $tplvar, $blockname, $initdev ) function __parseTemplate( $tplvar, $blockname, $initdev )
{ {
@@ -386,7 +383,7 @@ class TemplatePowerParser
/** /**
* class TemplatePower * class TemplatePower
* * @package gulliver.system
*/ */
class TemplatePower extends TemplatePowerParser class TemplatePower extends TemplatePowerParser
{ {
@@ -700,7 +697,6 @@ class TemplatePower extends TemplatePowerParser
* TemplatePower::getVarValue() * TemplatePower::getVarValue()
* *
* @param $varname * @param $varname
* @return
* @param string $varname * @param string $varname
* @access public * @access public
*/ */
@@ -740,6 +736,7 @@ class TemplatePower extends TemplatePowerParser
* *
* @return void * @return void
* @access public * @access public
* @package gulliver.system
*/ */
function getOutputContent() function getOutputContent()
{ {

View File

@@ -22,6 +22,10 @@
* Coral Gables, FL, 33134, USA, or email info@colosa.com. * Coral Gables, FL, 33134, USA, or email info@colosa.com.
* *
*/ */
/**
* @package gulliver.system
**/
G::LoadSystem ( 'ymlDomain'); G::LoadSystem ( 'ymlDomain');
G::LoadSystem ( 'ymlTestCases'); G::LoadSystem ( 'ymlTestCases');
G::LoadSystem ( 'unitTest'); G::LoadSystem ( 'unitTest');
@@ -167,9 +171,9 @@ class testTools
/** /**
* domain * domain
* *
* @param string $location * @param string $location *
*
* @return object $result * @return object $result
* @package gulliver.system
*/ */
function domain($location) function domain($location)

View File

@@ -21,6 +21,10 @@
* 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.system
*/ */
G::LoadSystem('objectTemplate'); G::LoadSystem('objectTemplate');
class Tree extends Xml_Node { class Tree extends Xml_Node {
@@ -137,7 +141,7 @@
/** /**
* render * render
* * @package gulliver.system
* @return $obj->printObject( array( 'node' => &$this ) ) * @return $obj->printObject( array( 'node' => &$this ) )
*/ */
function render() { function render() {

View File

@@ -22,6 +22,11 @@
* Coral Gables, FL, 33134, USA, or email info@colosa.com. * Coral Gables, FL, 33134, USA, or email info@colosa.com.
* *
*/ */
/**
* @package gulliver.system
*/
class unitTest class unitTest
{ {
var $dbc; var $dbc;

View File

@@ -28,7 +28,11 @@
* _Function = don't encode * _Function = don't encode
* JS_function = javascript function. * JS_function = javascript function.
* @example: h2b2x/territoriesAjax.php * @example: h2b2x/territoriesAjax.php
* @dependencies: grest.js * @dependencies: grest.js *
*/
/**
* @package gulliver.system
*/ */
class WebResource class WebResource
{ {
@@ -39,7 +43,7 @@ class WebResource
* *
* @param string $uri * @param string $uri
* @param string $post * @param string $post
* *
* @return none * @return none
*/ */
function WebResource($uri, $post) function WebResource($uri, $post)
@@ -67,7 +71,7 @@ class WebResource
/** /**
* _encode * _encode
* *
* @return none * @return none
*/ */
function _encode() function _encode()

View File

@@ -25,7 +25,7 @@
/** /**
* Class Xml_Node * Class Xml_Node
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xml * @package gulliver.system
* @access public * @access public
* @dependencies Xml_Node * @dependencies Xml_Node
*/ */
@@ -230,7 +230,7 @@ class Xml_Node
/** /**
* Class Xml_document * Class Xml_document
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xml * @package gulliver.system
* @access public * @access public
* @dependencies Xml_Node * @dependencies Xml_Node
*/ */

View File

@@ -22,7 +22,10 @@
* Coral Gables, FL, 33134, USA, or email info@colosa.com. * Coral Gables, FL, 33134, USA, or email info@colosa.com.
* *
*/ */
/**
* @package gulliver.system
*/
class xmlMenu extends form class xmlMenu extends form
{ {
var $type = 'xmlmenu'; var $type = 'xmlmenu';

View File

@@ -25,7 +25,7 @@
/** /**
* Class XmlForm_Field * Class XmlForm_Field
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies Services_JSON * @dependencies Services_JSON
*/ */
@@ -669,7 +669,7 @@ class XmlForm_Field {
/** /**
* Class XmlForm_Field_Title * Class XmlForm_Field_Title
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -698,7 +698,7 @@ class XmlForm_Field_Title extends XmlForm_Field
/** /**
* Class XmlForm_Field_Subtitle * Class XmlForm_Field_Subtitle
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -728,7 +728,7 @@ class XmlForm_Field_Subtitle extends XmlForm_Field
/** /**
* Class XmlForm_Field_SimpleText * Class XmlForm_Field_SimpleText
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -807,7 +807,7 @@ class XmlForm_Field_SimpleText extends XmlForm_Field
/** /**
* Class XmlForm_Field_Text * Class XmlForm_Field_Text
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field_SimpleText * @dependencies XmlForm_Field_SimpleText
*/ */
@@ -937,7 +937,7 @@ class XmlForm_Field_Text extends XmlForm_Field_SimpleText
/** /**
* Class XmlForm_Field_Suggest * Class XmlForm_Field_Suggest
* @author Erik Amaru Ortiz <erik@colosa.com> * @author Erik Amaru Ortiz <erik@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field_SimpleText * @dependencies XmlForm_Field_SimpleText
*/ */
@@ -1102,7 +1102,7 @@ class XmlForm_Field_Suggest extends XmlForm_Field_SimpleText //by neyek
/** /**
* prepare the field for printing * prepare the field for printing
* * @package gulliver.system
*/ */
class XmlForm_Field_Print extends XmlForm_Field_SimpleText //by neyek class XmlForm_Field_Print extends XmlForm_Field_SimpleText //by neyek
{ {
@@ -1144,6 +1144,7 @@ class XmlForm_Field_Print extends XmlForm_Field_SimpleText //by neyek
/*DEPRECATED*/ /*DEPRECATED*/
/** /**
* caption field for dynaforms * caption field for dynaforms
* @package gulliver.system
*/ */
class XmlForm_Field_Caption extends XmlForm_Field { class XmlForm_Field_Caption extends XmlForm_Field {
@@ -1222,7 +1223,7 @@ class XmlForm_Field_Caption extends XmlForm_Field {
/** /**
* Class XmlForm_Field_Password * Class XmlForm_Field_Password
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -1271,7 +1272,7 @@ class XmlForm_Field_Password extends XmlForm_Field {
/** /**
* Class XmlForm_Field_Textarea * Class XmlForm_Field_Textarea
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -1374,7 +1375,7 @@ class XmlForm_Field_Textarea extends XmlForm_Field {
/** /**
* Class XmlForm_Field_Currency * Class XmlForm_Field_Currency
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field_SimpleText * @dependencies XmlForm_Field_SimpleText
*/ */
@@ -1398,6 +1399,7 @@ class XmlForm_Field_Currency extends XmlForm_Field_SimpleText {
* @param <String> $value * @param <String> $value
* @param <String> $owner * @param <String> $owner
* @return <String> * @return <String>
* @package gulliver.system
*/ */
function render( $value = NULL, $owner = NULL) { function render( $value = NULL, $owner = NULL) {
$onkeypress = G::replaceDataField ( $this->onkeypress, $owner->values ); $onkeypress = G::replaceDataField ( $this->onkeypress, $owner->values );
@@ -1442,7 +1444,7 @@ class XmlForm_Field_CaptionCurrency extends XmlForm_Field {
/** /**
* Class XmlForm_Field_Percentage * Class XmlForm_Field_Percentage
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field_SimpleText * @dependencies XmlForm_Field_SimpleText
*/ */
@@ -1503,7 +1505,7 @@ class XmlForm_Field_CaptionPercentage extends XmlForm_Field {
/** /**
* Class XmlForm_Field_Date * Class XmlForm_Field_Date
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field_SimpleText * @dependencies XmlForm_Field_SimpleText
*/ */
@@ -1647,6 +1649,7 @@ class XmlForm_Field_Date2 extends XmlForm_Field_SimpleText {
* @param $owner * @param $owner
* @param $onlyValue * @param $onlyValue
* @return <String> * @return <String>
* @package gulliver.system
*/ */
function renderGrid($values = NULL, $owner = NULL, $onlyValue = false) { function renderGrid($values = NULL, $owner = NULL, $onlyValue = false) {
$result = array (); $result = array ();
@@ -1736,7 +1739,7 @@ class XmlForm_Field_DateView extends XmlForm_Field
/** /**
* Class XmlForm_Field_YesNo * Class XmlForm_Field_YesNo
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -1799,7 +1802,7 @@ class XmlForm_Field_YesNo extends XmlForm_Field
/** /**
* Class XmlForm_Field_Link * Class XmlForm_Field_Link
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -1877,7 +1880,7 @@ class XmlForm_Field_Link extends XmlForm_Field {
/** /**
* Class XmlForm_Field_File * Class XmlForm_Field_File
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -1891,6 +1894,7 @@ class XmlForm_Field_File extends XmlForm_Field {
* @access public * @access public
* @param string value * @param string value
* @return string * @return string
* @package gulliver.system
*/ */
function render($value = NULL) { function render($value = NULL) {
$mode = ($this->mode == 'view') ? ' disabled="disabled"' : ''; $mode = ($this->mode == 'view') ? ' disabled="disabled"' : '';
@@ -1935,6 +1939,7 @@ class XmlForm_Field_Dropdownpt extends XmlForm_Field {
} }
/* Used in Form::validatePost /* Used in Form::validatePost
* @package gulliver.system
*/ */
function maskValue($value, &$owner) { function maskValue($value, &$owner) {
return ($value === $this->value) ? $value : $this->falseValue; return ($value === $this->value) ? $value : $this->falseValue;
@@ -1988,6 +1993,7 @@ class XmlForm_Field_Checkboxpt extends XmlForm_Field {
* @param $value * @param $value
* @param &$owner * @param &$owner
* @return either the value or falseValue attributes * @return either the value or falseValue attributes
* @package gulliver.system
*/ */
function maskValue($value, &$owner) { function maskValue($value, &$owner) {
return ($value === $this->value) ? $value : $this->falseValue; return ($value === $this->value) ? $value : $this->falseValue;
@@ -2084,6 +2090,7 @@ class XmlForm_Field_Checkbox extends XmlForm_Field
* @param $value * @param $value
* @param $owner * @param $owner
* @return either the value or falseValue * @return either the value or falseValue
* @package gulliver.system
*/ */
function maskValue($value, &$owner) function maskValue($value, &$owner)
{ {
@@ -2108,7 +2115,7 @@ class XmlForm_Field_Checkbox2 extends XmlForm_Field {
/** /**
* Class XmlForm_Field_Button * Class XmlForm_Field_Button
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -2141,7 +2148,7 @@ class XmlForm_Field_Button extends XmlForm_Field
/** /**
* Class XmlForm_Field_Reset * Class XmlForm_Field_Reset
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -2165,7 +2172,7 @@ class XmlForm_Field_Reset extends XmlForm_Field
/** /**
* Class XmlForm_Field_Submit * Class XmlForm_Field_Submit
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -2194,7 +2201,7 @@ class XmlForm_Field_Submit extends XmlForm_Field {
/** /**
* Class XmlForm_Field_Hidden * Class XmlForm_Field_Hidden
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -2270,7 +2277,7 @@ class XmlForm_Field_Hidden extends XmlForm_Field
/** /**
* Class XmlForm_Field_Dropdown * Class XmlForm_Field_Dropdown
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -2387,7 +2394,7 @@ class XmlForm_Field_Dropdown extends XmlForm_Field {
/** /**
* Class XmlForm_Field_Listbox * Class XmlForm_Field_Listbox
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -2469,7 +2476,7 @@ class XmlForm_Field_Listbox extends XmlForm_Field
/** /**
* Class XmlForm_Field_RadioGroup * Class XmlForm_Field_RadioGroup
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -2502,6 +2509,7 @@ class XmlForm_Field_RadioGroup extends XmlForm_Field {
* @param string value * @param string value
* @param string owner * @param string owner
* @return string * @return string
* @package gulliver.system
*/ */
function render($value = NULL, $owner) function render($value = NULL, $owner)
{ {
@@ -2574,7 +2582,7 @@ class XmlForm_Field_RadioGroupView extends XmlForm_Field
/** /**
* Class XmlForm_Field_CheckGroup * Class XmlForm_Field_CheckGroup
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -2598,6 +2606,7 @@ class XmlForm_Field_CheckGroup extends XmlForm_Field
* @param string value * @param string value
* @param string owner * @param string owner
* @return string * @return string
* @package gulliver.system
*/ */
function render($value = NULL, $owner = NULL) function render($value = NULL, $owner = NULL)
{ {
@@ -2661,7 +2670,7 @@ class XmlForm_Field_CheckGroupView extends XmlForm_Field
/** /**
* Class XmlForm_Field_Grid * Class XmlForm_Field_Grid
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field XmlForm xmlformTemplate * @dependencies XmlForm_Field XmlForm xmlformTemplate
*/ */
@@ -2811,7 +2820,7 @@ class XmlForm_Field_Grid extends XmlForm_Field
/** /**
* Class XmlForm_Field_JavaScript * Class XmlForm_Field_JavaScript
* @author David S. Callizaya S. <davidsantos@colosa.com> * @author David S. Callizaya S. <davidsantos@colosa.com>
* @package gulliver.system.xmlform * @package gulliver.system
* @access public * @access public
* @dependencies XmlForm_Field * @dependencies XmlForm_Field
*/ */
@@ -2868,6 +2877,7 @@ class XmlForm_Field_JavaScript extends XmlForm_Field
* @param string value * @param string value
* @param string owner * @param string owner
* @return string * @return string
* @package gulliver.system
*/ */
function renderGrid($value, $owner) function renderGrid($value, $owner)
{ {
@@ -2878,6 +2888,7 @@ class XmlForm_Field_JavaScript extends XmlForm_Field
* A javascript node has no value * A javascript node has no value
* @param $value * @param $value
* @return false * @return false
* @package gulliver.system
*/ */
function validateValue($value) function validateValue($value)
{ {
@@ -3080,6 +3091,7 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText
* - init - Backward compatibility * - init - Backward compatibility
* *
* By Erik A. O. <erik@colosa.com> * By Erik A. O. <erik@colosa.com>
* @package gulliver.system
*/ */
if($mask == 'yyyy-mm-dd') if($mask == 'yyyy-mm-dd')
$mask = '%Y-%m-%d'; $mask = '%Y-%m-%d';
@@ -3506,6 +3518,7 @@ class XmlForm_Field_Date5 extends XmlForm_Field_SimpleText
* @param <Date> $date * @param <Date> $date
* @param $mask * @param $mask
* @return <type> * @return <type>
* @package gulliver.system
*/ */
function getSplitDate($date, $mask){ function getSplitDate($date, $mask){
$sw1 = false; $sw1 = false;
@@ -4158,6 +4171,7 @@ class xmlformTemplate extends Smarty
* @param string tpl_name * @param string tpl_name
* @param string smarty_obj * @param string smarty_obj
* @return string * @return string
* @package gulliver.system
*/ */
function _get_trusted($tpl_name, &$smarty_obj) function _get_trusted($tpl_name, &$smarty_obj)
{ {

View File

@@ -22,6 +22,11 @@
* Coral Gables, FL, 33134, USA, or email info@colosa.com. * Coral Gables, FL, 33134, USA, or email info@colosa.com.
* *
*/ */
/**
* @package gulliver.system
*/
class XmlForm_Field_Label extends XmlForm_Field class XmlForm_Field_Label extends XmlForm_Field
{ {
var $withoutValue = true; var $withoutValue = true;
@@ -86,6 +91,7 @@ class XmlForm_Field_cellMark extends XmlForm_Field
* XmlForm_Field_DVEditor * XmlForm_Field_DVEditor
* *
* extends XmlForm_Field * extends XmlForm_Field
* @package gulliver.system
* *
*/ */
class XmlForm_Field_DVEditor extends XmlForm_Field class XmlForm_Field_DVEditor extends XmlForm_Field
@@ -136,7 +142,8 @@ class XmlForm_Field_DVEditor extends XmlForm_Field
* <PAGED_TABLE_ID type="private"/> * <PAGED_TABLE_ID type="private"/>
* <PAGED_TABLE_FAST_SEARCH type="text" colAlign="right" colWidth="180" onkeypress="if (event.keyCode===13)@#PAGED_TABLE_ID.doFastSearch(this.value);if (event.keyCode===13)return false;"> * <PAGED_TABLE_FAST_SEARCH type="text" colAlign="right" colWidth="180" onkeypress="if (event.keyCode===13)@#PAGED_TABLE_ID.doFastSearch(this.value);if (event.keyCode===13)return false;">
* <en>Search</en> * <en>Search</en>
* </PAGED_TABLE_FAST_SEARCH> * </PAGED_TABLE_FAST_SEARCH>
* @package gulliver.system
*/ */
class XmlForm_Field_FastSearch extends XmlForm_Field_Text class XmlForm_Field_FastSearch extends XmlForm_Field_Text
{ {

View File

@@ -26,6 +26,7 @@ require_once( PATH_THIRDPARTY.'lime/yaml.class.php');
/** /**
* ymlDomain class * ymlDomain class
* @copyright (C) 2002 by Colosa Development Team. * @copyright (C) 2002 by Colosa Development Team.
* @package gulliver.system
*/ */
class ymlDomain class ymlDomain

View File

@@ -39,6 +39,10 @@
* TestCasesGroup2: * TestCasesGroup2:
* ... * ...
*/ */
/**
* @package gulliver.system
*/
class ymlTestCases class ymlTestCases
{ {
var $testCaseFile; var $testCaseFile;