ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Blog\Posting\Posting Class Reference
+ Collaboration diagram for ILIAS\Blog\Posting\Posting:

Public Member Functions

 __construct (protected int $id, protected int $blog_id, protected string $title, protected ilDateTime $created, protected int $author, protected bool $approved, protected ?ilDateTime $last_withdrawn)
 
 getId ()
 
 getBlogId ()
 
 getTitle ()
 
 getCreated ()
 
 getAuthor ()
 
 isApproved ()
 
 getLastWithdrawn ()
 

Detailed Description

Definition at line 25 of file class.Posting.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Blog\Posting\Posting::__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 at line 27 of file class.Posting.php.

35 {
36 }

Member Function Documentation

◆ getAuthor()

ILIAS\Blog\Posting\Posting::getAuthor ( )

Definition at line 58 of file class.Posting.php.

58 : int
59 {
60 return $this->author;
61 }

Referenced by ILIAS\Blog\Posting\PostingDBRepository\create().

+ Here is the caller graph for this function:

◆ getBlogId()

ILIAS\Blog\Posting\Posting::getBlogId ( )

Definition at line 43 of file class.Posting.php.

43 : int
44 {
45 return $this->blog_id;
46 }

Referenced by ILIAS\Blog\Posting\PostingDBRepository\create().

+ Here is the caller graph for this function:

◆ getCreated()

ILIAS\Blog\Posting\Posting::getCreated ( )

Definition at line 53 of file class.Posting.php.

54 {
55 return $this->created;
56 }
@classDescription Date and time handling

Referenced by ILIAS\Blog\Posting\PostingDBRepository\create(), and ILIAS\Blog\Posting\PostingDBRepository\update().

+ Here is the caller graph for this function:

◆ getId()

ILIAS\Blog\Posting\Posting::getId ( )

Definition at line 38 of file class.Posting.php.

38 : int
39 {
40 return $this->id;
41 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

References $id.

Referenced by ILIAS\Blog\Posting\PostingDBRepository\update().

+ Here is the caller graph for this function:

◆ getLastWithdrawn()

ILIAS\Blog\Posting\Posting::getLastWithdrawn ( )

Definition at line 68 of file class.Posting.php.

68 : ?ilDateTime
69 {
70 return $this->last_withdrawn;
71 }

Referenced by ILIAS\Blog\Posting\PostingDBRepository\create(), and ILIAS\Blog\Posting\PostingDBRepository\update().

+ Here is the caller graph for this function:

◆ getTitle()

ILIAS\Blog\Posting\Posting::getTitle ( )

Definition at line 48 of file class.Posting.php.

48 : string
49 {
50 return $this->title;
51 }

Referenced by ILIAS\Blog\Posting\PostingDBRepository\create(), and ILIAS\Blog\Posting\PostingDBRepository\update().

+ Here is the caller graph for this function:

◆ isApproved()

ILIAS\Blog\Posting\Posting::isApproved ( )

Definition at line 63 of file class.Posting.php.

63 : bool
64 {
65 return $this->approved;
66 }

Referenced by ILIAS\Blog\Posting\PostingDBRepository\create(), and ILIAS\Blog\Posting\PostingDBRepository\update().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: