Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
musica_listas_umusic
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
musica_listas_umusic
Commits
80cce0ed
Commit
80cce0ed
authored
Apr 30, 2019
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actualizacion proyecto- Actualizacion VPW y entidad
parent
f45a3f8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
235 additions
and
44 deletions
+235
-44
src/Entity/PluLista.php
src/Entity/PluLista.php
+225
-34
src/Utilities/EntelVPW.php
src/Utilities/EntelVPW.php
+10
-10
No files found.
src/Entity/PluLista.php
View file @
80cce0ed
...
...
@@ -72,37 +72,108 @@ class PluLista
/**
* @var int|null
*
* @ORM\Column(name="lis_la", type="integer", nullable=true)
* @ORM\Column(name="lis_
vpw_
la", type="integer", nullable=true)
*/
private
$lisLa
;
private
$lis
Vpw
La
;
/**
* @var string|null
*
* @ORM\Column(name="lis_medio", type="string", length=500, nullable=true)
* @ORM\Column(name="lis_
vpw_
medio", type="string", length=500, nullable=true)
*/
private
$lisMedio
;
private
$lis
Vpw
Medio
;
/**
* @var string|null
*
* @ORM\Column(name="lis_provider", type="string", length=500, nullable=true)
* @ORM\Column(name="lis_
vpw_
provider", type="string", length=500, nullable=true)
*/
private
$lisProvider
;
private
$lis
Vpw
Provider
;
/**
* @var string|null
*
* @ORM\Column(name="lis_service", type="string", length=500, nullable=true)
* @ORM\Column(name="lis_
vpw_
service", type="string", length=500, nullable=true)
*/
private
$lisService
;
private
$lis
Vpw
Service
;
/**
* @var string|null
*
* @ORM\Column(name="lis_code", type="string", length=500, nullable=true)
* @ORM\Column(name="lis_
vpw_
code", type="string", length=500, nullable=true)
*/
private
$lisCode
;
private
$lisVpwCode
;
/**/
/**
* @var string|null
*
* @ORM\Column(name="lis_wap_push_type", type="string", length=45, nullable=true)
*/
private
$lisWapPushType
;
/**
* @var string|null
*
* @ORM\Column(name="lis_wap_push_la", type="string", length=45, nullable=true)
*/
private
$lisWapPushLa
;
/**
* @var string|null
*
* @ORM\Column(name="lis_wap_push_service", type="string", length=45, nullable=true)
*/
private
$lisWapPushService
;
/**
* @var string|null
*
* @ORM\Column(name="lis_wap_push_code", type="string", length=45, nullable=true)
*/
private
$lisWapPushCode
;
/**
* @var string|null
*
* @ORM\Column(name="lis_wap_push_provider", type="string", length=45, nullable=true)
*/
private
$lisWapPushProvider
;
/**
* @var string|null
*
* @ORM\Column(name="lis_wap_push_provider_code", type="string", length=45, nullable=true)
*/
private
$lisWapPushProviderCode
;
/**
* @var string|null
*
* @ORM\Column(name="lis_wap_push_content_type", type="string", length=45, nullable=true)
*/
private
$lisWapPushContentType
;
/**
* @var string|null
*
* @ORM\Column(name="lis_wap_push_message", type="string", length=200, nullable=true)
*/
private
$lisWapPushMessage
;
/**
* @var string|null
*
* @ORM\Column(name="lis_wap_push_url", type="string", length=200, nullable=true)
*/
private
$lisWapPushUrl
;
/**
* @var string|null
*
* @ORM\Column(name="lis_wap_push_service_tag", type="string", length=45, nullable=true)
*/
private
$lisWapPushServiceTag
;
/**
* @var int|null
...
...
@@ -403,74 +474,194 @@ class PluLista
return
$this
;
}
public
function
get
LisLa
()
:
?int
public
function
get
Tag
()
:
?
PluTag
{
return
$this
->
lisLa
;
return
$this
->
tag
;
}
public
function
set
LisLa
(
?int
$lisLa
)
:
self
public
function
set
Tag
(
?
PluTag
$tag
)
:
self
{
$this
->
lisLa
=
$lisLa
;
$this
->
tag
=
$tag
;
return
$this
;
}
public
function
getLis
Medio
()
:
?string
public
function
getLis
VpwLa
()
:
?int
{
return
$this
->
lis
Medio
;
return
$this
->
lis
VpwLa
;
}
public
function
setLis
Medio
(
?string
$lisMedio
)
:
self
public
function
setLis
VpwLa
(
?int
$lisVpwLa
)
:
self
{
$this
->
lis
Medio
=
$lisMedio
;
$this
->
lis
VpwLa
=
$lisVpwLa
;
return
$this
;
}
public
function
getLis
Provider
()
:
?string
public
function
getLis
VpwMedio
()
:
?string
{
return
$this
->
lis
Provider
;
return
$this
->
lis
VpwMedio
;
}
public
function
setLis
Provider
(
?string
$lisProvider
)
:
self
public
function
setLis
VpwMedio
(
?string
$lisVpwMedio
)
:
self
{
$this
->
lis
Provider
=
$lisProvider
;
$this
->
lis
VpwMedio
=
$lisVpwMedio
;
return
$this
;
}
public
function
getLis
Service
()
:
?string
public
function
getLis
VpwProvider
()
:
?string
{
return
$this
->
lis
Service
;
return
$this
->
lis
VpwProvider
;
}
public
function
setLis
Service
(
?string
$lisService
)
:
self
public
function
setLis
VpwProvider
(
?string
$lisVpwProvider
)
:
self
{
$this
->
lis
Service
=
$lisService
;
$this
->
lis
VpwProvider
=
$lisVpwProvider
;
return
$this
;
}
public
function
getLis
Cod
e
()
:
?string
public
function
getLis
VpwServic
e
()
:
?string
{
return
$this
->
lis
Cod
e
;
return
$this
->
lis
VpwServic
e
;
}
public
function
setLis
Code
(
?string
$lisCod
e
)
:
self
public
function
setLis
VpwService
(
?string
$lisVpwServic
e
)
:
self
{
$this
->
lis
Code
=
$lisCod
e
;
$this
->
lis
VpwService
=
$lisVpwServic
e
;
return
$this
;
}
public
function
get
Tag
()
:
?
PluTa
g
public
function
get
LisVpwCode
()
:
?strin
g
{
return
$this
->
tag
;
return
$this
->
lisVpwCode
;
}
public
function
set
Tag
(
?
PluTag
$tag
)
:
self
public
function
set
LisVpwCode
(
?string
$lisVpwCode
)
:
self
{
$this
->
tag
=
$tag
;
$this
->
lisVpwCode
=
$lisVpwCode
;
return
$this
;
}
public
function
getLisWapPushType
()
:
?string
{
return
$this
->
lisWapPushType
;
}
public
function
setLisWapPushType
(
?string
$lisWapPushType
)
:
self
{
$this
->
lisWapPushType
=
$lisWapPushType
;
return
$this
;
}
public
function
getLisWapPushLa
()
:
?string
{
return
$this
->
lisWapPushLa
;
}
public
function
setLisWapPushLa
(
?string
$lisWapPushLa
)
:
self
{
$this
->
lisWapPushLa
=
$lisWapPushLa
;
return
$this
;
}
public
function
getLisWapPushService
()
:
?string
{
return
$this
->
lisWapPushService
;
}
public
function
setLisWapPushService
(
?string
$lisWapPushService
)
:
self
{
$this
->
lisWapPushService
=
$lisWapPushService
;
return
$this
;
}
public
function
getLisWapPushCode
()
:
?string
{
return
$this
->
lisWapPushCode
;
}
public
function
setLisWapPushCode
(
?string
$lisWapPushCode
)
:
self
{
$this
->
lisWapPushCode
=
$lisWapPushCode
;
return
$this
;
}
public
function
getLisWapPushProvider
()
:
?string
{
return
$this
->
lisWapPushProvider
;
}
public
function
setLisWapPushProvider
(
?string
$lisWapPushProvider
)
:
self
{
$this
->
lisWapPushProvider
=
$lisWapPushProvider
;
return
$this
;
}
public
function
getLisWapPushProviderCode
()
:
?string
{
return
$this
->
lisWapPushProviderCode
;
}
public
function
setLisWapPushProviderCode
(
?string
$lisWapPushProviderCode
)
:
self
{
$this
->
lisWapPushProviderCode
=
$lisWapPushProviderCode
;
return
$this
;
}
public
function
getLisWapPushContentType
()
:
?string
{
return
$this
->
lisWapPushContentType
;
}
public
function
setLisWapPushContentType
(
?string
$lisWapPushContentType
)
:
self
{
$this
->
lisWapPushContentType
=
$lisWapPushContentType
;
return
$this
;
}
public
function
getLisWapPushMessage
()
:
?string
{
return
$this
->
lisWapPushMessage
;
}
public
function
setLisWapPushMessage
(
?string
$lisWapPushMessage
)
:
self
{
$this
->
lisWapPushMessage
=
$lisWapPushMessage
;
return
$this
;
}
public
function
getLisWapPushUrl
()
:
?string
{
return
$this
->
lisWapPushUrl
;
}
public
function
setLisWapPushUrl
(
?string
$lisWapPushUrl
)
:
self
{
$this
->
lisWapPushUrl
=
$lisWapPushUrl
;
return
$this
;
}
public
function
getLisWapPushServiceTag
()
:
?string
{
return
$this
->
lisWapPushServiceTag
;
}
public
function
setLisWapPushServiceTag
(
?string
$lisWapPushServiceTag
)
:
self
{
$this
->
lisWapPushServiceTag
=
$lisWapPushServiceTag
;
return
$this
;
}
...
...
src/Utilities/EntelVPW.php
View file @
80cce0ed
...
...
@@ -37,11 +37,11 @@ class EntelVPW {
$log
->
debug
(
'msisdn:'
.
$msisdn
.
' | susripcion:'
.
$suscripcion
->
getSusId
());
$params
=
array
(
'la'
=>
$lista
->
getLisLa
(),
'medio'
=>
$lista
->
getLisMedio
(),
'provider'
=>
$lista
->
getLisProvider
(),
'service'
=>
$lista
->
getLisService
(),
'code'
=>
$lista
->
getLisCode
()
'la'
=>
$lista
->
getLis
Vpw
La
(),
'medio'
=>
$lista
->
getLis
Vpw
Medio
(),
'provider'
=>
$lista
->
getLis
Vpw
Provider
(),
'service'
=>
$lista
->
getLis
Vpw
Service
(),
'code'
=>
$lista
->
getLis
Vpw
Code
()
);
...
...
@@ -118,11 +118,11 @@ class EntelVPW {
$log
->
debug
(
'msisdn:'
.
$msisdn
.
' | susripcion:'
.
$suscripcion
->
getSusId
());
$params
=
array
(
'la'
=>
$lista
->
getLisLa
(),
'medio'
=>
$lista
->
getLisMedio
(),
'provider'
=>
$lista
->
getLisProvider
(),
'service'
=>
$lista
->
getLisService
(),
'code'
=>
$lista
->
getLisCode
()
'la'
=>
$lista
->
getLis
Vpw
La
(),
'medio'
=>
$lista
->
getLis
Vpw
Medio
(),
'provider'
=>
$lista
->
getLis
Vpw
Provider
(),
'service'
=>
$lista
->
getLis
Vpw
Service
(),
'code'
=>
$lista
->
getLis
Vpw
Code
()
);
$xml
=
"<?xml version='1.0' encoding='UTF-8'?><unsubscribe><entry>56"
.
$msisdn
.
"</entry></unsubscribe>"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment