Descripción del Modelo de Datos VentaInfoNotificacion

VentaInfoNotificacion

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 201809271016
link modelos/datos/ventasinformacion/VentaInfoNotificacion/
inherited_from \ModeloDatos

 Methods

Devuelve los registros de VentasInfoNotificaciones en estado ACTIVO.

activos() : Array
Static

Returns

Arrayde Objetos VentasInfoNotificaciones

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

actualizar(integer $ventaInfoNotificacionID, integer $categoriaID, String $ventaInfoNotificacionCODIGO, String $ventaInfoNotificacionTITULO, \Texto $ventaInfoNotificacionDESCRIPCION, \Url $ventaInfoNotificacionURL, String $ventaInfoNotificacionESTADO) : integer
Static

Parameters

$ventaInfoNotificacionID

integer

Identificador del Registro de VentasInfoNotificaciones

$categoriaID

integer

Identificador de la Categoria

$ventaInfoNotificacionCODIGO

String

Código de VentasInfoNotificaciones

$ventaInfoNotificacionTITULO

String

Titulo de VentasInfoNotificaciones

$ventaInfoNotificacionDESCRIPCION

\Texto

Descripción de VentasInfoNotificaciones

$ventaInfoNotificacionURL

\Url

Url del archivo asociado al VentasInfoNotificaciones

$ventaInfoNotificacionESTADO

String

Estado del registro de VentasInfoNotificaciones

Returns

integercantidad de registros actualziados en la operacion

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

cambiarEstado(integer $ventaInfoNotificacionID, String $ventaInfoNotificacionESTADO) : integer
Static

Parameters

$ventaInfoNotificacionID

integer

Identificador del registro

$ventaInfoNotificacionESTADO

String

Nuevo estado del registro.

Returns

integerCantidad de registros desactivados

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

datos(integer $ventaInfoNotificacionID) : \Objeto
Static

Parameters

$ventaInfoNotificacionID

integer

Returns

\ObjetoVentaInfoNotificacion

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

datosCompletos(integer $ventaInfoNotificacionID) : \Objeto
Static

Parameters

$ventaInfoNotificacionID

integer

Returns

\ObjetoVentaInfoNotificacion

Recibe un identificador de VentasInfoNotificaciones y desactiva el registro.

desactivar(integer $ventaInfoNotificacionID) : integer
Static

Parameters

$ventaInfoNotificacionID

integer

Identificador del registro

Returns

integerCantidad de registros desactivados

Recibe un identificador de VentasInfoNotificaciones y elimina el registro.

eliminar(integer $ventaInfoNotificacionID) : integer
Static

Parameters

$ventaInfoNotificacionID

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 VentasInfoNotificaciones.

guardar(integer $categoriaID, String $ventaInfoNotificacionCODIGO, String $ventaInfoNotificacionTITULO, \Texto $ventaInfoNotificacionDESCRIPCION, \Url $ventaInfoNotificacionURL, String $ventaInfoNotificacionESTADO) : integer
Static

Parameters

$categoriaID

integer

Identificador de la Categoria

$ventaInfoNotificacionCODIGO

String

Código de VentasInfoNotificaciones

$ventaInfoNotificacionTITULO

String

Titulo de VentasInfoNotificaciones

$ventaInfoNotificacionDESCRIPCION

\Texto

Descripción de VentasInfoNotificaciones

$ventaInfoNotificacionURL

\Url

Url del archivo asociado al VentasInfoNotificaciones

$ventaInfoNotificacionESTADO

String

Estado del registro de VentasInfoNotificaciones

Returns

integercon el Identificador del Registro VentasInfoNotificaciones

Recibe un identificador de VentasInfoNotificaciones y reactiva el registro.

reactivar(integer $ventaInfoNotificacionID) : integer
Static

Parameters

$ventaInfoNotificacionID

integer

Identificador del registro

Returns

integerCantidad de registros reactivados

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

todos(String $ventaInfoNotificacionESTADO = null) : Array
Static

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

Parameters

$ventaInfoNotificacionESTADO

String

Returns

Arrayde Objetos VentasInfoNotificaciones

 Constants

 

ACTIVO

ACTIVO = 'ACTIVO' 
 

DESACTIVO

DESACTIVO = 'DESACTIVO' 
 

SUSPENDIDO

SUSPENDIDO = 'SUSPENDIDO'