Open Journal Systems
3.3.0
swordappstatemententry.php
1
<?php
2
3
class
SWORDAppStatementEntry
{
4
5
// The scheme of the entry
6
public
$sac_scheme
;
7
8
// The term of the entry
9
public
$sac_term
;
10
11
// The label for the entry
12
public
$sac_label
;
13
14
// The content type
15
public
$sac_content_type
;
16
17
// The content source
18
public
$sac_content_source
;
19
20
// The packaging format used
21
public
$sac_packaging
;
22
23
// When it was deposited
24
public
$sac_deposited_on
;
25
26
// Who deposited it
27
public
$sac_deposited_by
;
28
29
// Construct a new statement atom entry
30
function
__construct
(
$sac_scheme
,
$sac_term
,
$sac_label
) {
31
$this->sac_scheme =
$sac_scheme
;
32
$this->sac_term =
$sac_term
;
33
$this->sac_label =
$sac_label
;
34
}
35
36
// Set the content type and source
37
function
addContent
($sac_type, $sac_src) {
38
$this->sac_content_type = $sac_type;
39
$this->sac_content_source = $sac_src;
40
}
41
42
// Set the packaging
43
function
setPackaging
(
$sac_packaging
) {
44
$this->sac_packaging =
$sac_packaging
;
45
}
46
47
// Set the deposited date
48
function
setDepositedOn
(
$sac_deposited_on
) {
49
$this->sac_deposited_on =
$sac_deposited_on
;
50
}
51
52
// Set the deposited by
53
function
setDepositedBy
(
$sac_deposited_by
) {
54
$this->sac_deposited_by =
$sac_deposited_by
;
55
}
56
57
// Print out a representation of the statement
58
function
toString
() {
59
print
" - Entry:\n"
;
60
print
" - Scheme: "
. $this->sac_scheme .
"\n"
;
61
print
" - Term: "
. $this->sac_term .
"\n"
;
62
print
" - Label: "
. $this->sac_label .
"\n"
;
63
print
" - Content: Type="
. $this->sac_content_type .
" Source="
. $this->sac_content_source .
"\n"
;
64
print
" - Packaging: "
. $this->sac_packaging .
"\n"
;
65
print
" - Deposited On: "
. $this->sac_deposited_on .
"\n"
;
66
print
" - Deposited By: "
. $this->sac_deposited_by .
"\n"
;
67
}
68
}
69
70
?>
SWORDAppStatementEntry\$sac_deposited_by
$sac_deposited_by
Definition:
swordappstatemententry.php:27
SWORDAppStatementEntry\$sac_content_source
$sac_content_source
Definition:
swordappstatemententry.php:18
SWORDAppStatementEntry
Definition:
swordappstatemententry.php:3
SWORDAppStatementEntry\setPackaging
setPackaging($sac_packaging)
Definition:
swordappstatemententry.php:43
SWORDAppStatementEntry\setDepositedBy
setDepositedBy($sac_deposited_by)
Definition:
swordappstatemententry.php:53
SWORDAppStatementEntry\toString
toString()
Definition:
swordappstatemententry.php:58
SWORDAppStatementEntry\__construct
__construct($sac_scheme, $sac_term, $sac_label)
Definition:
swordappstatemententry.php:30
SWORDAppStatementEntry\setDepositedOn
setDepositedOn($sac_deposited_on)
Definition:
swordappstatemententry.php:48
SWORDAppStatementEntry\addContent
addContent($sac_type, $sac_src)
Definition:
swordappstatemententry.php:37
SWORDAppStatementEntry\$sac_deposited_on
$sac_deposited_on
Definition:
swordappstatemententry.php:24
SWORDAppStatementEntry\$sac_term
$sac_term
Definition:
swordappstatemententry.php:9
SWORDAppStatementEntry\$sac_label
$sac_label
Definition:
swordappstatemententry.php:12
SWORDAppStatementEntry\$sac_packaging
$sac_packaging
Definition:
swordappstatemententry.php:21
SWORDAppStatementEntry\$sac_scheme
$sac_scheme
Definition:
swordappstatemententry.php:6
SWORDAppStatementEntry\$sac_content_type
$sac_content_type
Definition:
swordappstatemententry.php:15
plugins
generic
sword
libs
swordappv2
swordappstatemententry.php
Generated on Fri Aug 28 2020 14:53:46 for Open Journal Systems by
1.8.17