Descripción del Modelo de Datos VentaInfoTipoGestion

VentaInfoTipoGestion

Licenciado bajo la Licencia Apache, Versión 2.0; Usted no puede usar este archivo excepto en conformidad con la Licencia. Usted puede obtener una copia de la Licencia en: http://www.php.net/license/3_01.txt. A menos que sea requerido por la ley aplicable o acordado por escrito, el software Distribuido bajo la licencia se distribuye en una "AS IS" o "COMO ESTA" BASE, SIN GARANTÍAS NI CONDICIONES DE NINGÚN TIPO, expresas o implícitas. Consulte la Licencia para los permisos y Limitaciones bajo la Licencia.

package Modelos\Datos\ventasinformacion
author Kevin Fonseca Isaza
author SICAM 20180612
copyright 2018 Cámara de Comercio de Santa Marta para el Magdalena
license PHP License 3.01
version 201809270949
link modelos/datos/ventasinformacion/VentaInfoTipoGestion/
inherited_from \ModeloDatos

 Methods

Devuelve los registros de VentasInfoTiposGestion en estado ACTIVO.

activos() : Array
Static

Returns

Arrayde Objetos VentasInfoTiposGestion

Recibe los todos los datos del registro para ser actualizados, junto con el identificador del registro que se va ha actualizar.

actualizar(integer $ventaInfoTipoGestionID, integer $categoriaID, String $ventaInfoTipoGestionCODIGO, String $ventaInfoTipoGestionTITULO, \Texto $ventaInfoTipoGestionDESCRIPCION, \Url $ventaInfoTipoGestionURL, String $ventaInfoTipoGestionESTADO) : integer
Static

Parameters

$ventaInfoTipoGestionID

integer

Identificador del Registro de VentasInfoTiposGestion

$categoriaID

integer

Identificador de la Categoria

$ventaInfoTipoGestionCODIGO

String

Código de VentasInfoTiposGestion

$ventaInfoTipoGestionTITULO

String

Titulo de VentasInfoTiposGestion

$ventaInfoTipoGestionDESCRIPCION

\Texto

Descripción de VentasInfoTiposGestion

$ventaInfoTipoGestionURL

\Url

Url del archivo asociado al VentasInfoTiposGestion

$ventaInfoTipoGestionESTADO

String

Estado del registro de VentasInfoTiposGestion

Returns

integercantidad de registros actualziados en la operacion

Recibe un identificador y el Estado y actualiza el estado del registro

cambiarEstado(integer $ventaInfoTipoGestionID, String $ventaInfoTipoGestionESTADO) : integer
Static

Parameters

$ventaInfoTipoGestionID

integer

Identificador del registro

$ventaInfoTipoGestionESTADO

String

Nuevo estado del registro.

Returns

integerCantidad de registros desactivados

Recibe el Identificador del registro de VentaInfoTipoGestion y devuelve un objeto con sus datos.

datos(integer $ventaInfoTipoGestionID) : \Objeto
Static

Parameters

$ventaInfoTipoGestionID

integer

Returns

\ObjetoVentaInfoTipoGestion

Recibe el Identificador del registro de VentaInfoTipoGestion y devuelve un objeto con sus datos completos con todas sus relacion.

datosCompletos(integer $ventaInfoTipoGestionID) : \Objeto
Static

Parameters

$ventaInfoTipoGestionID

integer

Returns

\ObjetoVentaInfoTipoGestion

Recibe un identificador de VentasInfoTiposGestion y desactiva el registro.

desactivar(integer $ventaInfoTipoGestionID) : integer
Static

Parameters

$ventaInfoTipoGestionID

integer

Identificador del registro

Returns

integerCantidad de registros desactivados

Recibe un identificador de VentasInfoTiposGestion y elimina el registro.

eliminar(integer $ventaInfoTipoGestionID) : integer
Static

Parameters

$ventaInfoTipoGestionID

integer

Identificador del registro ha eliminar.

Returns

integerCantidad de registros eliminados

Recibe Todos los datos de necesarios para la creación de un nuevo registro de VentasInfoTiposGestion.

guardar(integer $categoriaID, String $ventaInfoTipoGestionCODIGO, String $ventaInfoTipoGestionTITULO, \Texto $ventaInfoTipoGestionDESCRIPCION, \Url $ventaInfoTipoGestionURL, String $ventaInfoTipoGestionESTADO) : integer
Static

Parameters

$categoriaID

integer

Identificador de la Categoria

$ventaInfoTipoGestionCODIGO

String

Código de VentasInfoTiposGestion

$ventaInfoTipoGestionTITULO

String

Titulo de VentasInfoTiposGestion

$ventaInfoTipoGestionDESCRIPCION

\Texto

Descripción de VentasInfoTiposGestion

$ventaInfoTipoGestionURL

\Url

Url del archivo asociado al VentasInfoTiposGestion

$ventaInfoTipoGestionESTADO

String

Estado del registro de VentasInfoTiposGestion

Returns

integercon el Identificador del Registro VentasInfoTiposGestion

Recibe un identificador de VentasInfoTiposGestion y reactiva el registro.

reactivar(integer $ventaInfoTipoGestionID) : integer
Static

Parameters

$ventaInfoTipoGestionID

integer

Identificador del registro

Returns

integerCantidad de registros reactivados

Devuelve todos los registros de VentasInfoTiposGestion, según el estado.

todos() : Array
Static

Si no se envia el estado devuelve todos los registros sin importar su estado.

Returns

Arrayde Objetos VentasInfoTiposGestion

 Constants

 

ACTIVO

ACTIVO = 'ACTIVO' 
 

DESACTIVO

DESACTIVO = 'DESACTIVO' 
 

SUSPENDIDO

SUSPENDIDO = 'SUSPENDIDO'