Revision [597]

Last edited on 2008-06-24 13:23:10 by ChristianTorrez
Additions:
{{color fg="red" text="void"}} **Data()**
{{color fg="red" text="void"}} **check_error(**{{color fg="green" text="$obj, $extra = '', $die = false"}}**)**
{{color fg="red" text="void"}} **sql_log(**{{color fg="green" text="$logtext"}}**)**
{{color fg="red" text="object"}} **query(**{{color fg="green" text="$sqlcmd"}}**)**
{{color fg="red" text="object"}} **execSql(**{{color fg="green" text="$sqlcmd"}}**)**
{{color fg="red" text="object"}} **getVar(**{{color fg="green" text="$sqlcmd"}}**)**
{{color fg="red" text="array"}} **getList(**{{color fg="green" text="$sqlcmd"}}**)**
{{color fg="red" text="array"}} **getArray()**
{{color fg="red" text="array"}} **selectList(**{{color fg="green" text="$sqlcmd"}}**)**
{{color fg="red" text="array"}} **selectMenu(**{{color fg="green" text="$sqlcmd = '', $filter = ''"}}**)**
{{color fg="red" text="int"}} **getNumbering()**
Deletions:
void **Data()**
void **""check_error($obj, $extra = '', $die = false)""**
void **sql_log($logtext)**
object **query($sqlcmd)**
object **execSql($sqlcmd)**
object **getVar($sqlcmd)**
array **getList($sqlcmd)**
array **getArray()**
array **selectList($sqlcmd)**
array **""selectMenu($sqlcmd = '', $filter = '')""**
int **getNumbering()**


Revision [596]

Edited on 2008-06-24 13:18:10 by ChristianTorrez
Additions:
valor de retorno: void
parametros:
- ninguno.
valor de retorno: void
parametros:
- object $obj
- $extra
- boolean $die
valor de retorno: void
parametros:
- string $logtext
valor de retorno: object (result)
parametros:
- string $sqlcmd
valor de retorno: object (result)
parametros:
- string $sqlcmd
valor de retorno: object
parametros:
- string $sqlcmd
valor de retorno: array
parametros:
- string $sqlcmd
valor de retorno: array
parametros:
- ninguno
array **selectList($sqlcmd)**
valor de retorno: array
parametros:
- string $sqlcmd
array **""selectMenu($sqlcmd = '', $filter = '')""**
valor de retorno: array
parametros:
- string $sqlcmd
- string $filter
int **getNumbering()**
valor de retorno: integer
parametros:
- ninguno
Deletions:
return: void
params: ninguno.
return: void
params:
return: void
params:
string $logtext
return: object (result)
params:
string $sqlcmd
return: object (result)
params:
string $sqlcmd
return: object
params:
string $sqlcmd
return: array
params:
string $sqlcmd
**selectList($sqlcmd)**
**""selectMenu($sqlcmd = '', $filter = '')""**
**int getNumbering()**
return: integer


Revision [595]

Edited on 2008-06-24 13:12:56 by ChristianTorrez
Additions:
void **Data()**
//Constructor de la clase y quien establece o inicializa la conexión con la base de datos.//
void **""check_error($obj, $extra = '', $die = false)""**
//Manejo de los errores y el registro de los mismos en los logs.//
void **sql_log($logtext)**
//Registra en el archivo de los logs SQL las consultas SQL generadas.//
object **query($sqlcmd)**
//Ejecuta una consulta SQL (SELECT, UPDATE, DELETE o INSERT) y devuelve, dependiendo la consulta proporcionada, un result con el resultado de la misma en caso que sea una consulta SELECT.//
object **execSql($sqlcmd)**
//Ejecuta una consulta SQL, es utilizada preferiblemente cuando se utilizan consultas SELECT.//
object **getVar($sqlcmd)**
//Permite ejecutar una consulta a la base de datos y devolver un unico valor que representa al valor colocado en el primer campo de la primera fila.//
array **getList($sqlcmd)**
return: array
array **getArray()**
Deletions:
**void Data()**
Constructor de la clase y quien establece o inicializa la conexión con la base de datos.
**""void check_error($obj, $extra = '', $die = false)""**
Manejo de los errores y el registro de los mismos en los logs.
**void sql_log($logtext)**
Registra en el archivo de los logs SQL las consultas SQL generadas.
**object query($sqlcmd)**
Ejecuta una consulta SQL (SELECT, UPDATE, DELETE o INSERT) y devuelve, dependiendo la consulta proporcionada, un result con el resultado de la misma en caso que sea una consulta SELECT.
**object execSql($sqlcmd)**
**object getVar($sqlcmd)**
**getList($sqlcmd)**
**getArray()**


Revision [594]

Edited on 2008-06-24 13:06:49 by ChristianTorrez
Additions:
**void Data()**
return: void
params: ninguno.
Constructor de la clase y quien establece o inicializa la conexión con la base de datos.
**""void check_error($obj, $extra = '', $die = false)""**
return: void
params:
Manejo de los errores y el registro de los mismos en los logs.
**void sql_log($logtext)**
return: void
params:
string $logtext
Registra en el archivo de los logs SQL las consultas SQL generadas.
**object query($sqlcmd)**
return: object (result)
params:
string $sqlcmd
Ejecuta una consulta SQL (SELECT, UPDATE, DELETE o INSERT) y devuelve, dependiendo la consulta proporcionada, un result con el resultado de la misma en caso que sea una consulta SELECT.
**object execSql($sqlcmd)**
return: object (result)
params:
string $sqlcmd
**object getVar($sqlcmd)**
return: object
params:
string $sqlcmd
**int getNumbering()**
return: integer
Deletions:
**Data()**
**""check_error($obj, $extra = '', $die = false)""**
**sql_log($logtext)**
**query($sqlcmd)**
**execSql($sqlcmd)**
**getVar($sqlcmd)**
**getNumbering()**


Revision [593]

Edited on 2008-06-24 12:57:33 by ChristianTorrez
Additions:
{{anchor name="Data" title="Método: Data"}}


Revision [592]

Edited on 2008-06-24 12:56:30 by ChristianTorrez
Additions:
::c::
CategoryDocumentationv3


Revision [591]

Edited on 2008-06-24 12:55:55 by ChristianTorrez
Additions:
- {{anchor target="Data" text="Data"}}
- {{anchor target="check_error" text="check_error"}}
- {{anchor target="sql_log" text="sql_log"}}
- {{anchor target="query" text="query"}}
- {{anchor target="execSql" text="execSql"}}
- {{anchor target="getVar" text="getVar"}}
- {{anchor target="getList" text="getList"}}
- {{anchor target="getArray" text="getArray"}}
- {{anchor target="selectList" text="selectList"}}
- {{anchor target="selectMenu" text="selectMenu"}}
- {{anchor target="getNumbering" text="getNumbering"}}
Deletions:
- Data
- check_error
- sql_log
- query
- execSql
- getVar
- getList
- getArray
- selectList
- selectMenu
- getNumbering


Revision [590]

Edited on 2008-06-24 12:53:20 by ChristianTorrez
Additions:
**Data()**
**""check_error($obj, $extra = '', $die = false)""**
**sql_log($logtext)**
**query($sqlcmd)**
**execSql($sqlcmd)**
**getVar($sqlcmd)**
**getList($sqlcmd)**
**getArray()**
**selectList($sqlcmd)**
**""selectMenu($sqlcmd = '', $filter = '')""**
**getNumbering()**
Deletions:
Data()
""check_error($obj, $extra = '', $die = false)""
sql_log($logtext)
query($sqlcmd)
execSql($sqlcmd)
getVar($sqlcmd)
getList($sqlcmd)
getArray()
selectList($sqlcmd)
""selectMenu($sqlcmd = '', $filter = '')""
getNumbering()


Revision [589]

Edited on 2008-06-24 12:52:04 by ChristianTorrez
Additions:
""selectMenu($sqlcmd = '', $filter = '')""
Deletions:
selectMenu($sqlcmd = '', $filter = '')


Revision [588]

Edited on 2008-06-24 12:51:48 by ChristianTorrez
Additions:
""check_error($obj, $extra = '', $die = false)""
Deletions:
check_error($obj, $extra = '', $die = false)


Revision [587]

Edited on 2008-06-24 12:49:43 by ChristianTorrez
Additions:
El nombre del campo que es llave primaria en la tabla.
====Métodos de la Clase====
{{anchor name="check_error" title="Método: check_error"}}
{{anchor name="sql_log" title="Método: sql_log"}}
{{anchor name="query" title="Método: query"}}
{{anchor name="execSql" title="Método: execSql"}}
{{anchor name="getVar" title="Método: getVar"}}
{{anchor name="getList" title="Método: getList"}}
{{anchor name="getArray" title="Método: getArray"}}
{{anchor name="selectList" title="Método: selectList"}}
{{anchor name="selectMenu" title="Método: selectMenu"}}
{{anchor name="getNumbering" title="Método: getNumbering"}}
Deletions:
destroy()


Revision [586]

Edited on 2008-06-24 11:57:19 by ChristianTorrez
Additions:
Es un entero que determina el numero de registro inicial.


Revision [585]

Edited on 2008-06-24 11:55:16 by ChristianTorrez
Additions:
- {{anchor target="limit" text="$limit"}}
- {{anchor target="offset" text="$offset"}}
- {{anchor target="key" text="$key"}}
{{anchor name="limit" title="Variable: limit"}}
{{anchor name="offset" title="Variable: offset"}}
{{anchor name="key" title="Variable: key"}}
Deletions:
- $limit
- $offset
- $key


Revision [584]

Edited on 2008-06-24 11:53:48 by ChristianTorrez
Additions:
- {{anchor target="database" text="$database" }}
Deletions:
- {{anchor target="top" text="$database" }}


Revision [583]

Edited on 2008-06-24 11:53:32 by ChristianTorrez
Additions:
- {{anchor target="top" text="$database" }}
[{{anchor target="top" text="arriba" }}]
[{{anchor target="top" text="arriba" }}]
[{{anchor target="top" text="arriba" }}]
[{{anchor target="top" text="arriba" }}]
Deletions:
- ""$database""
[""arriba""]
{{anchor target="top" text="Arriba" }}
{{anchor target="top" text="Arriba" }}
{{anchor target="top" text="Arriba" }}


Revision [582]

Edited on 2008-06-24 11:52:29 by ChristianTorrez
Additions:
{{anchor target="top" text="Arriba" }}
{{anchor target="top" text="Arriba" }}
{{anchor target="top" text="Arriba" }}
Deletions:
{{anchor targe="top" text="Arriba" }}
{{anchor targe="top" text="Arriba" }}
{{anchor targe="top" text="Arriba" }}


Revision [581]

Edited on 2008-06-24 11:51:47 by ChristianTorrez
Additions:
**$limit**
Tipo: integer
Es un entero que controla la cantidad de registros que se devolveran en una consulta (SELECT).
{{anchor targe="top" text="Arriba" }}
**$offset**
{{anchor targe="top" text="Arriba" }}
**$key**
{{anchor targe="top" text="Arriba" }}
Deletions:
$limit
$offset
$key


Revision [580]

Edited on 2008-06-24 11:33:34 by ChristianTorrez
Additions:
[[AlmidonDocv3 Documentación Almidón v3]]
Deletions:
{{anchor name="top" title="Arriba"}}[[AlmidonDocv3 Documentación Almidón v3]]


Revision [579]

Edited on 2008-06-24 11:32:54 by ChristianTorrez
Additions:
{{anchor name="top" title="Arriba"}}[[AlmidonDocv3 Documentación Almidón v3]]
Deletions:
{{anchor name="top" title="Arriba"}}
[[AlmidonDocv3 Documentación Almidón v3]]


Revision [578]

The oldest known version of this page was created on 2008-06-24 11:32:47 by ChristianTorrez
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki