This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
forked from Mac2/libiwparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DTOParserResultC.php
64 lines (56 loc) · 1.89 KB
/
DTOParserResultC.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <benjamin.woester@googlemail.com> wrote this file. As long as you retain
* this notice you can do whatever you want with this stuff. If we meet some
* day, and you think this stuff is worth it, you can buy me a beer in return.
* Benjamin Wöster
* ----------------------------------------------------------------------------
*/
/**
* @author Benjamin Wöster <benjamin.woester@googlemail.com>
* @package libIwParsers
* @subpackage parsers
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/**
* Class returned by all parsers
*
* This class only carries data, it provides no functionality. This is
* important for transfers over the network.
*/
class DTOParserResultC
{
/**
* @soap
* @var string $strIdentifier identifier of the parser that generater these
* results
*/
public $strIdentifier = '';
/**
* @soap
* @var bool $bSuccessfullyParsed hopefully true, false if any errors occured
*/
public $bSuccessfullyParsed = false;
/**
* @soap
* @var array $aErrors if any errors occured, this array holds additional
* information
*/
public $aErrors = array();
/**
* @soap
* @var object $objResultData the DTO the parser creates.
*/
public $objResultData = null;
/////////////////////////////////////////////////////////////////////////////
public function __construct($parent)
{
if ($parent instanceof ParserI) {
$this->strIdentifier = $parent->getIdentifier();
}
}
}