ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.Posting.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Blog\Posting
;
22
23
use
ilDateTime
;
24
25
class
Posting
26
{
27
public
function
__construct
(
28
protected
int
$id
,
29
protected
int
$blog_id,
30
protected
string
$title,
31
protected
ilDateTime
$created,
32
protected
int
$author,
33
protected
bool
$approved,
34
protected
?
ilDateTime
$last_withdrawn
35
) {
36
}
37
38
public
function
getId
():
int
39
{
40
return
$this->id
;
41
}
42
43
public
function
getBlogId
():
int
44
{
45
return
$this->blog_id;
46
}
47
48
public
function
getTitle
(): string
49
{
50
return
$this->title;
51
}
52
53
public
function
getCreated
():
ilDateTime
54
{
55
return
$this->created;
56
}
57
58
public
function
getAuthor
():
int
59
{
60
return
$this->author;
61
}
62
63
public
function
isApproved
(): bool
64
{
65
return
$this->approved;
66
}
67
68
public
function
getLastWithdrawn
(): ?
ilDateTime
69
{
70
return
$this->last_withdrawn;
71
}
72
}
ILIAS\Blog\Posting\Posting\Posting\getBlogId
getBlogId()
Definition:
class.Posting.php:43
ilDateTime
ILIAS\Blog\Posting\Posting\Posting\getTitle
getTitle()
Definition:
class.Posting.php:48
ILIAS\Blog\Posting\Posting\Posting\getAuthor
getAuthor()
Definition:
class.Posting.php:58
ILIAS\Blog\Posting\Posting\Posting\getCreated
getCreated()
Definition:
class.Posting.php:53
ILIAS\Blog\Posting\Posting\Posting
Definition:
class.Posting.php:25
ILIAS\Blog\Posting\Posting\Posting\getLastWithdrawn
getLastWithdrawn()
Definition:
class.Posting.php:68
ILIAS\Blog\Posting
Definition:
class.Posting.php:21
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\Blog\Posting\Posting\Posting\isApproved
isApproved()
Definition:
class.Posting.php:63
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\Blog\Posting\Posting\Posting\__construct
__construct(protected int $id, protected int $blog_id, protected string $title, protected ilDateTime $created, protected int $author, protected bool $approved, protected ?ilDateTime $last_withdrawn)
Definition:
class.Posting.php:27
ILIAS\Blog\Posting\Posting\Posting\getId
getId()
Definition:
class.Posting.php:38
components
ILIAS
Blog
Posting
class.Posting.php
Generated on Sun Aug 31 2025 23:02:24 for ILIAS by
1.8.13 (using
Doxyfile
)