BaseSiteIntervention extends Model
Generic information about intervention
Table of Contents
- EQUIPMENTS_TO_CHANGE_ADSL_MODEM = 4
- ADSL MODEM
- EQUIPMENTS_TO_CHANGE_ANTENNA = 0
- ANTENNA
- EQUIPMENTS_TO_CHANGE_BASE_STATION = 1
- BASE STATION
- EQUIPMENTS_TO_CHANGE_CIRCUIT_BREAKER = 14
- CIRCUIT BREAKER
- EQUIPMENTS_TO_CHANGE_FEEDER = 3
- FEEDER
- EQUIPMENTS_TO_CHANGE_INVERTER = 12
- INVERTER
- EQUIPMENTS_TO_CHANGE_KEY_3G = 13
- KEY 3G
- EQUIPMENTS_TO_CHANGE_LNA = 2
- LNA
- EQUIPMENTS_TO_CHANGE_NETWORK_CABLE = 5
- NETWORK CABLE
- EQUIPMENTS_TO_CHANGE_ROUTER_3G = 15
- ROUTER 3G
- EQUIPMENTS_TO_CHANGE_SAT_DEMOD = 8
- SAT DEMOD
- EQUIPMENTS_TO_CHANGE_SAT_DISH = 10
- SAT DISH
- EQUIPMENTS_TO_CHANGE_SAT_LNB = 9
- SAT LNB
- EQUIPMENTS_TO_CHANGE_SAT_POWER_SUPPLY = 11
- SAT POWER SUPPLY
- EQUIPMENTS_TO_CHANGE_SURGE = 6
- SURGE
- EQUIPMENTS_TO_CHANGE_WATERPROOFNESS = 7
- WATERPROOFNESS
- TYPE_ANTENNA_INSTALLATION = 2
- ANTENNA INSTALLATION
- TYPE_DISMANTLING = 7
- DISMANTLING
- TYPE_ELECTRICAL = 6
- ELECTRICAL
- TYPE_OTHER = 0
- OTHER
- TYPE_PRE_VISIT = 1
- PRE VISIT
- TYPE_SAT_INSTALLATION = 5
- SAT INSTALLATION
- TYPE_SITE_SEARCH = 4
- SITE SEARCH
- TYPE_TELECOM_LINE_INSTALLATION = 3
- TELECOM LINE INSTALLATION
- $author : string|null
- The author of this intervention
- $billCode : string|null
- The bill code of this intervention
- $closed : bool|null
- is this intervention closed
- $comment : string|null
- The comment about this intervention
- $costs : float|null
- The costs of this intervention
- $endTime : int|null
- The end time of this intervention
- $equipmentsToChange : array<string|int, mixed>|null
- List of equipment to change for this intervention
- $interventionTime : int|null
- The time of this intervention
- $plannedTime : int|null
- The planned time of this intervention
- $rtId : string|null
- The request tracker identifier of this intervention
- $type : int|null
- Convention status.
- from() : static
- Initializing a model from an array
- getAuthor() : string
- Getter for author
- getBillCode() : string
- Getter for billCode
- getClosed() : bool
- Getter for closed
- getComment() : string
- Getter for comment
- getCosts() : float
- Getter for costs
- getEndTime() : int
- Getter for endTime
- getEquipmentsToChange() : array<string|int, int>
- Getter for equipmentsToChange
- getInterventionTime() : int
- Getter for interventionTime
- getPlannedTime() : int
- Getter for plannedTime
- getRtId() : string
- Getter for rtId
- getType() : int
- Getter for type
- jsonSerialize() : array<string|int, mixed>
- setAuthor() : static
- Setter for author
- setBillCode() : static
- Setter for billCode
- setClosed() : static
- Setter for closed
- setComment() : static
- Setter for comment
- setCosts() : static
- Setter for costs
- setEndTime() : static
- Setter for endTime
- setEquipmentsToChange() : static
- Setter for equipmentsToChange
- setInterventionTime() : static
- Setter for interventionTime
- setPlannedTime() : static
- Setter for plannedTime
- setRtId() : static
- Setter for rtId
- setType() : static
- Setter for type
Constants
EQUIPMENTS_TO_CHANGE_ADSL_MODEM
ADSL MODEM
public
mixed
EQUIPMENTS_TO_CHANGE_ADSL_MODEM
= 4
EQUIPMENTS_TO_CHANGE_ANTENNA
ANTENNA
public
mixed
EQUIPMENTS_TO_CHANGE_ANTENNA
= 0
EQUIPMENTS_TO_CHANGE_BASE_STATION
BASE STATION
public
mixed
EQUIPMENTS_TO_CHANGE_BASE_STATION
= 1
EQUIPMENTS_TO_CHANGE_CIRCUIT_BREAKER
CIRCUIT BREAKER
public
mixed
EQUIPMENTS_TO_CHANGE_CIRCUIT_BREAKER
= 14
EQUIPMENTS_TO_CHANGE_FEEDER
FEEDER
public
mixed
EQUIPMENTS_TO_CHANGE_FEEDER
= 3
EQUIPMENTS_TO_CHANGE_INVERTER
INVERTER
public
mixed
EQUIPMENTS_TO_CHANGE_INVERTER
= 12
EQUIPMENTS_TO_CHANGE_KEY_3G
KEY 3G
public
mixed
EQUIPMENTS_TO_CHANGE_KEY_3G
= 13
EQUIPMENTS_TO_CHANGE_LNA
LNA
public
mixed
EQUIPMENTS_TO_CHANGE_LNA
= 2
EQUIPMENTS_TO_CHANGE_NETWORK_CABLE
NETWORK CABLE
public
mixed
EQUIPMENTS_TO_CHANGE_NETWORK_CABLE
= 5
EQUIPMENTS_TO_CHANGE_ROUTER_3G
ROUTER 3G
public
mixed
EQUIPMENTS_TO_CHANGE_ROUTER_3G
= 15
EQUIPMENTS_TO_CHANGE_SAT_DEMOD
SAT DEMOD
public
mixed
EQUIPMENTS_TO_CHANGE_SAT_DEMOD
= 8
EQUIPMENTS_TO_CHANGE_SAT_DISH
SAT DISH
public
mixed
EQUIPMENTS_TO_CHANGE_SAT_DISH
= 10
EQUIPMENTS_TO_CHANGE_SAT_LNB
SAT LNB
public
mixed
EQUIPMENTS_TO_CHANGE_SAT_LNB
= 9
EQUIPMENTS_TO_CHANGE_SAT_POWER_SUPPLY
SAT POWER SUPPLY
public
mixed
EQUIPMENTS_TO_CHANGE_SAT_POWER_SUPPLY
= 11
EQUIPMENTS_TO_CHANGE_SURGE
SURGE
public
mixed
EQUIPMENTS_TO_CHANGE_SURGE
= 6
EQUIPMENTS_TO_CHANGE_WATERPROOFNESS
WATERPROOFNESS
public
mixed
EQUIPMENTS_TO_CHANGE_WATERPROOFNESS
= 7
TYPE_ANTENNA_INSTALLATION
ANTENNA INSTALLATION
public
mixed
TYPE_ANTENNA_INSTALLATION
= 2
TYPE_DISMANTLING
DISMANTLING
public
mixed
TYPE_DISMANTLING
= 7
TYPE_ELECTRICAL
ELECTRICAL
public
mixed
TYPE_ELECTRICAL
= 6
TYPE_OTHER
OTHER
public
mixed
TYPE_OTHER
= 0
TYPE_PRE_VISIT
PRE VISIT
public
mixed
TYPE_PRE_VISIT
= 1
TYPE_SAT_INSTALLATION
SAT INSTALLATION
public
mixed
TYPE_SAT_INSTALLATION
= 5
TYPE_SITE_SEARCH
SITE SEARCH
public
mixed
TYPE_SITE_SEARCH
= 4
TYPE_TELECOM_LINE_INSTALLATION
TELECOM LINE INSTALLATION
public
mixed
TYPE_TELECOM_LINE_INSTALLATION
= 3
Properties
$author
The author of this intervention
protected
string|null
$author
= null
$billCode
The bill code of this intervention
protected
string|null
$billCode
= null
$closed
is this intervention closed
protected
bool|null
$closed
= null
$comment
The comment about this intervention
protected
string|null
$comment
= null
$costs
The costs of this intervention
protected
float|null
$costs
= null
$endTime
The end time of this intervention
protected
int|null
$endTime
= null
$equipmentsToChange
List of equipment to change for this intervention
protected
array<string|int, mixed>|null
$equipmentsToChange
= null
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_ANTENNA
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_BASE_STATION
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_LNA
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_FEEDER
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_ADSL_MODEM
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_NETWORK_CABLE
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SURGE
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_WATERPROOFNESS
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SAT_DEMOD
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SAT_LNB
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SAT_DISH
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SAT_POWER_SUPPLY
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_INVERTER
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_KEY_3G
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_CIRCUIT_BREAKER
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_ROUTER_3G
$interventionTime
The time of this intervention
protected
int|null
$interventionTime
= null
$plannedTime
The planned time of this intervention
protected
int|null
$plannedTime
= null
$rtId
The request tracker identifier of this intervention
protected
string|null
$rtId
= null
$type
Convention status.
protected
int|null
$type
= null
- BaseSiteIntervention::TYPE_OTHER
- BaseSiteIntervention::TYPE_PRE_VISIT
- BaseSiteIntervention::TYPE_ANTENNA_INSTALLATION
- BaseSiteIntervention::TYPE_TELECOM_LINE_INSTALLATION
- BaseSiteIntervention::TYPE_SITE_SEARCH
- BaseSiteIntervention::TYPE_SAT_INSTALLATION
- BaseSiteIntervention::TYPE_ELECTRICAL
- BaseSiteIntervention::TYPE_DISMANTLING
Methods
from()
Initializing a model from an array
public
static from(array<string|int, mixed> $params) : static
Parameters
- $params : array<string|int, mixed>
-
Pass this parameter if you want to initial property value from an array. See API reference for all property names and types
Tags
Return values
static —getAuthor()
Getter for author
public
getAuthor() : string
Return values
string —The author of this intervention
getBillCode()
Getter for billCode
public
getBillCode() : string
Return values
string —The bill code of this intervention
getClosed()
Getter for closed
public
getClosed() : bool
Return values
bool —is this intervention closed
getComment()
Getter for comment
public
getComment() : string
Return values
string —The comment about this intervention
getCosts()
Getter for costs
public
getCosts() : float
Return values
float —The costs of this intervention
getEndTime()
Getter for endTime
public
getEndTime() : int
Return values
int —The end time of this intervention
getEquipmentsToChange()
Getter for equipmentsToChange
public
getEquipmentsToChange() : array<string|int, int>
Return values
array<string|int, int> —List of equipment to change for this intervention
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_ANTENNA
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_BASE_STATION
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_LNA
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_FEEDER
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_ADSL_MODEM
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_NETWORK_CABLE
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SURGE
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_WATERPROOFNESS
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SAT_DEMOD
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SAT_LNB
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SAT_DISH
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SAT_POWER_SUPPLY
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_INVERTER
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_KEY_3G
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_CIRCUIT_BREAKER
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_ROUTER_3G
getInterventionTime()
Getter for interventionTime
public
getInterventionTime() : int
Return values
int —The time of this intervention
getPlannedTime()
Getter for plannedTime
public
getPlannedTime() : int
Return values
int —The planned time of this intervention
getRtId()
Getter for rtId
public
getRtId() : string
Return values
string —The request tracker identifier of this intervention
getType()
Getter for type
public
getType() : int
Return values
int —Convention status.
- BaseSiteIntervention::TYPE_OTHER
- BaseSiteIntervention::TYPE_PRE_VISIT
- BaseSiteIntervention::TYPE_ANTENNA_INSTALLATION
- BaseSiteIntervention::TYPE_TELECOM_LINE_INSTALLATION
- BaseSiteIntervention::TYPE_SITE_SEARCH
- BaseSiteIntervention::TYPE_SAT_INSTALLATION
- BaseSiteIntervention::TYPE_ELECTRICAL
- BaseSiteIntervention::TYPE_DISMANTLING
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setAuthor()
Setter for author
public
setAuthor(string $author) : static
Parameters
- $author : string
-
The author of this intervention
Return values
static —To use in method chains
setBillCode()
Setter for billCode
public
setBillCode(string $billCode) : static
Parameters
- $billCode : string
-
The bill code of this intervention
Return values
static —To use in method chains
setClosed()
Setter for closed
public
setClosed(bool $closed) : static
Parameters
- $closed : bool
-
is this intervention closed
Return values
static —To use in method chains
setComment()
Setter for comment
public
setComment(string $comment) : static
Parameters
- $comment : string
-
The comment about this intervention
Return values
static —To use in method chains
setCosts()
Setter for costs
public
setCosts(float $costs) : static
Parameters
- $costs : float
-
The costs of this intervention
Return values
static —To use in method chains
setEndTime()
Setter for endTime
public
setEndTime(int $endTime) : static
Parameters
- $endTime : int
-
The end time of this intervention
Return values
static —To use in method chains
setEquipmentsToChange()
Setter for equipmentsToChange
public
setEquipmentsToChange(array<string|int, int> $equipmentsToChange) : static
Parameters
- $equipmentsToChange : array<string|int, int>
-
List of equipment to change for this intervention
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_ANTENNA
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_BASE_STATION
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_LNA
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_FEEDER
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_ADSL_MODEM
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_NETWORK_CABLE
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SURGE
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_WATERPROOFNESS
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SAT_DEMOD
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SAT_LNB
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SAT_DISH
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_SAT_POWER_SUPPLY
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_INVERTER
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_KEY_3G
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_CIRCUIT_BREAKER
- BaseSiteIntervention::EQUIPMENTS_TO_CHANGE_ROUTER_3G
Return values
static —To use in method chains
setInterventionTime()
Setter for interventionTime
public
setInterventionTime(int $interventionTime) : static
Parameters
- $interventionTime : int
-
The time of this intervention
Return values
static —To use in method chains
setPlannedTime()
Setter for plannedTime
public
setPlannedTime(int $plannedTime) : static
Parameters
- $plannedTime : int
-
The planned time of this intervention
Return values
static —To use in method chains
setRtId()
Setter for rtId
public
setRtId(string $rtId) : static
Parameters
- $rtId : string
-
The request tracker identifier of this intervention
Return values
static —To use in method chains
setType()
Setter for type
public
setType(int $type) : static
Parameters
- $type : int
-
Convention status.
- BaseSiteIntervention::TYPE_OTHER
- BaseSiteIntervention::TYPE_PRE_VISIT
- BaseSiteIntervention::TYPE_ANTENNA_INSTALLATION
- BaseSiteIntervention::TYPE_TELECOM_LINE_INSTALLATION
- BaseSiteIntervention::TYPE_SITE_SEARCH
- BaseSiteIntervention::TYPE_SAT_INSTALLATION
- BaseSiteIntervention::TYPE_ELECTRICAL
- BaseSiteIntervention::TYPE_DISMANTLING
Return values
static —To use in method chains