TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
typo3
sysext
extensionmanager
Classes
Utility
Parser
AbstractMirrorXmlParser.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Extensionmanager\Utility\Parser;
3
4
/*
5
* This file is part of the TYPO3 CMS project.
6
*
7
* It is free software; you can redistribute it and/or modify it under
8
* the terms of the GNU General Public License, either version 2
9
* of the License, or any later version.
10
*
11
* For the full copyright and license information, please read the
12
* LICENSE.txt file that was distributed with this source code.
13
*
14
* The TYPO3 project - inspiring people to share!
15
*/
16
21
abstract
class
AbstractMirrorXmlParser
extends
AbstractXmlParser
22
{
28
protected
$country
= null;
29
35
protected
$host
= null;
36
42
protected
$path
= null;
43
49
protected
$sponsorlink
= null;
50
56
protected
$sponsorlogo
= null;
57
63
protected
$sponsorname
= null;
64
70
protected
$title
= null;
71
82
public
function
getAll
()
83
{
84
$mirrorProperties = array();
85
$mirrorProperties[
'title'
] =
$this->title
;
86
$mirrorProperties[
'host'
] =
$this->host
;
87
$mirrorProperties[
'path'
] =
$this->path
;
88
$mirrorProperties[
'country'
] =
$this->country
;
89
$mirrorProperties[
'sponsorname'
] =
$this->sponsorname
;
90
$mirrorProperties[
'sponsorlink'
] =
$this->sponsorlink
;
91
$mirrorProperties[
'sponsorlogo'
] =
$this->sponsorlogo
;
92
return
$mirrorProperties;
93
}
94
102
public
function
getCountry
()
103
{
104
return
$this->country
;
105
}
106
114
public
function
getHost
()
115
{
116
return
$this->host
;
117
}
118
126
public
function
getPath
()
127
{
128
return
$this->path
;
129
}
130
138
public
function
getSponsorlink
()
139
{
140
return
$this->sponsorlink
;
141
}
142
150
public
function
getSponsorlogo
()
151
{
152
return
$this->sponsorlogo
;
153
}
154
162
public
function
getSponsorname
()
163
{
164
return
$this->sponsorname
;
165
}
166
174
public
function
getTitle
()
175
{
176
return
$this->title
;
177
}
178
186
protected
function
resetProperties
()
187
{
188
$this->title = $this->host = $this->
path
= $this->country
189
= $this->sponsorname = $this->sponsorlink = $this->sponsorlogo = null;
190
}
191
}
Generated on Wed Nov 11 2015 01:51:48 for TYPO3 by
1.8.3