Documentación de Proyecto Sincro

ClienteMatricula
in package
implements JsonSerializable

Modelado de la tabla 'clienteMatricula'

Se acepta el uso de nulos en campos opcionales como ID. Expone atrbituos getters y setters asi como constructor por fila SQL ( fromRow )

Tags
@implements

JsonSerializable para el uso sencillo en DAOs

Table of Contents

Interfaces

JsonSerializable

Properties

$cliente  : mixed
$habilitado  : mixed
$id  : mixed
$matricula  : mixed

Methods

__construct()  : mixed
getCliente()  : int
getId()  : int
getMatricula()  : string
isHabilitado()  : bool
jsonSerialize()  : array<string|int, mixed>
setCliente()  : void
setHabilitado()  : void
setId()  : void
setMatricula()  : void

Properties

Methods

__construct()

public __construct([int $id = 0 ][, int $cliente = 0 ][, string $matricula = '' ][, bool $habilitado = false ]) : mixed
Parameters
$id : int = 0
$cliente : int = 0
$matricula : string = ''
$habilitado : bool = false

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

setCliente()

public setCliente(int $cliente) : void
Parameters
$cliente : int

setHabilitado()

public setHabilitado(bool $habilitado) : void
Parameters
$habilitado : bool

setMatricula()

public setMatricula(string $matricula) : void
Parameters
$matricula : string

        
On this page

Search results