noalyss
Version-10
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
include
XMLDocument
document_reference_type.class.php
Go to the documentation of this file.
1
<?php
2
namespace
Noalyss\XMLDocument
;
3
4
/*
5
* This file is part of NOALYSS.
6
*
7
* NOALYSS is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* NOALYSS is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with NOALYSS; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
*/
21
// Copyright Author Dany De Bontridder danydb@aevalys.eu 22/10/23
22
23
24
/**
25
* @file
26
* @brief Document Reference Type ; documents included in a UBL21
27
* xml
28
*/
29
class
Binary_Object
30
{
31
public
$filecontent
;
32
public
$mimecode
;
33
public
$filename
;
34
function
__toString
(): string
35
{
36
return
"Binary_Object[filecontent="
. $this->filecontent
37
.
", mimecode="
. $this->mimecode
38
.
", filename="
. $this->filename
39
.
"]"
;
40
}
41
}
42
43
class
Document_Reference
44
{
45
protected
$id
;
46
protected
$description
;
47
protected
Binary_Object
$binary_object
;
48
function
__toString
(): string
49
{
50
return
"Document_Reference[id="
. $this->
id
51
.
", description="
. $this->description
52
.
", binary_object="
. $this->binary_object
53
.
"]"
;
54
}
55
public
function
getId
()
56
{
57
return
$this->id
;
58
}
59
60
public
function
getDescription
()
61
{
62
return
$this->description
;
63
}
64
65
public
function
getBinary_object
():
Binary_Object
66
{
67
return
$this->binary_object
;
68
}
69
70
public
function
setId
(
$id
)
71
{
72
$this->
id
=
$id
;
73
return
$this;
74
}
75
76
public
function
setDescription
(
$description
)
77
{
78
$this->description =
$description
;
79
return
$this;
80
}
81
82
public
function
setBinary_object
(
Binary_Object
$binary_object
)
83
{
84
$this->binary_object =
$binary_object
;
85
return
$this;
86
}
87
88
89
90
}
Noalyss\XMLDocument\Binary_Object
Definition
document_reference_type.class.php:30
Noalyss\XMLDocument\Binary_Object\$mimecode
$mimecode
Definition
document_reference_type.class.php:32
Noalyss\XMLDocument\Binary_Object\$filename
$filename
Definition
document_reference_type.class.php:33
Noalyss\XMLDocument\Binary_Object\$filecontent
$filecontent
Definition
document_reference_type.class.php:31
Noalyss\XMLDocument\Binary_Object\__toString
__toString()
Definition
document_reference_type.class.php:34
Noalyss\XMLDocument\Document_Reference
Definition
document_reference_type.class.php:44
Noalyss\XMLDocument\Document_Reference\getDescription
getDescription()
Definition
document_reference_type.class.php:60
Noalyss\XMLDocument\Document_Reference\$id
$id
Definition
document_reference_type.class.php:45
Noalyss\XMLDocument\Document_Reference\setBinary_object
setBinary_object(Binary_Object $binary_object)
Definition
document_reference_type.class.php:82
Noalyss\XMLDocument\Document_Reference\$binary_object
Binary_Object $binary_object
Definition
document_reference_type.class.php:47
Noalyss\XMLDocument\Document_Reference\__toString
__toString()
Definition
document_reference_type.class.php:48
Noalyss\XMLDocument\Document_Reference\getBinary_object
getBinary_object()
Definition
document_reference_type.class.php:65
Noalyss\XMLDocument\Document_Reference\$description
$description
Definition
document_reference_type.class.php:46
Noalyss\XMLDocument\Document_Reference\setDescription
setDescription($description)
Definition
document_reference_type.class.php:76
Noalyss\XMLDocument\Document_Reference\getId
getId()
Definition
document_reference_type.class.php:55
Noalyss\XMLDocument\Document_Reference\setId
setId($id)
Definition
document_reference_type.class.php:70
Noalyss\XMLDocument
Definition
document_reference_type.class.php:2
Generated on Thu Jan 15 2026 10:14:39 for noalyss by
1.13.2