Revision [597]
Last edited on 2008-06-24 13:23:10 by ChristianTorrezAdditions:
{{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()**
{{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 **""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 ChristianTorrezAdditions:
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
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:
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 ChristianTorrezAdditions:
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()**
//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:
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 ChristianTorrezAdditions:
**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
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:
**""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 ChristianTorrezAdditions:
{{anchor name="Data" title="Método: Data"}}
Revision [592]
Edited on 2008-06-24 12:56:30 by ChristianTorrezAdditions:
::c::
CategoryDocumentationv3
CategoryDocumentationv3
Revision [591]
Edited on 2008-06-24 12:55:55 by ChristianTorrezAdditions:
- {{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"}}
- {{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:
- check_error
- sql_log
- query
- execSql
- getVar
- getList
- getArray
- selectList
- selectMenu
- getNumbering
Revision [590]
Edited on 2008-06-24 12:53:20 by ChristianTorrezAdditions:
**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()**
**""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:
""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 ChristianTorrezAdditions:
""selectMenu($sqlcmd = '', $filter = '')""
Deletions:
Revision [588]
Edited on 2008-06-24 12:51:48 by ChristianTorrezAdditions:
""check_error($obj, $extra = '', $die = false)""
Deletions:
Revision [587]
Edited on 2008-06-24 12:49:43 by ChristianTorrezAdditions:
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"}}
====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:
Revision [586]
Edited on 2008-06-24 11:57:19 by ChristianTorrezAdditions:
Es un entero que determina el numero de registro inicial.
Revision [585]
Edited on 2008-06-24 11:55:16 by ChristianTorrezAdditions:
- {{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"}}
- {{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:
- $offset
- $key
Revision [584]
Edited on 2008-06-24 11:53:48 by ChristianTorrezAdditions:
- {{anchor target="database" text="$database" }}
Deletions:
Revision [583]
Edited on 2008-06-24 11:53:32 by ChristianTorrezAdditions:
- {{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" }}]
[{{anchor target="top" text="arriba" }}]
[{{anchor target="top" text="arriba" }}]
[{{anchor target="top" text="arriba" }}]
[{{anchor target="top" text="arriba" }}]
Deletions:
[""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 ChristianTorrezAdditions:
{{anchor target="top" text="Arriba" }}
{{anchor target="top" text="Arriba" }}
{{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" }}
Revision [581]
Edited on 2008-06-24 11:51:47 by ChristianTorrezAdditions:
**$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" }}
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:
$offset
$key
Revision [580]
Edited on 2008-06-24 11:33:34 by ChristianTorrezAdditions:
[[AlmidonDocv3 Documentación Almidón v3]]
Deletions:
Revision [579]
Edited on 2008-06-24 11:32:54 by ChristianTorrezAdditions:
{{anchor name="top" title="Arriba"}}[[AlmidonDocv3 Documentación Almidón v3]]
Deletions:
[[AlmidonDocv3 Documentación Almidón v3]]