ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\Blog\Posting\Posting\Posting Class Reference
+ Collaboration diagram for ILIAS\Blog\Posting\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\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\Posting::getAuthor ( )

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

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

58  : int
59  {
60  return $this->author;
61  }
+ Here is the caller graph for this function:

◆ getBlogId()

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

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

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

43  : int
44  {
45  return $this->blog_id;
46  }
+ Here is the caller graph for this function:

◆ getCreated()

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

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

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

53  : ilDateTime
54  {
55  return $this->created;
56  }
+ Here is the caller graph for this function:

◆ getId()

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

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

References $id.

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

38  : int
39  {
40  return $this->id;
41  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the caller graph for this function:

◆ getLastWithdrawn()

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

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

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

68  : ?ilDateTime
69  {
70  return $this->last_withdrawn;
71  }
+ Here is the caller graph for this function:

◆ getTitle()

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

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

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

48  : string
49  {
50  return $this->title;
51  }
+ Here is the caller graph for this function:

◆ isApproved()

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

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

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

63  : bool
64  {
65  return $this->approved;
66  }
+ Here is the caller graph for this function:

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