ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Public Member Functions | |
__construct (protected ilDBInterface $db, protected InternalDataService $data) | |
create (Posting $posting) | |
update (Posting $posting) | |
getById (int $id) | |
delete (int $id) | |
deleteAllBlogPostings (int $blog_id) | |
lookupBlogId (int $posting_id) | |
getAllByBlog (int $blog_id, int $limit=1000, int $offset=0) | |
exists (int $blog_id, int $posting_id) | |
getLastPost (int $blog_id) | |
searchBlogsByAuthor (int $user_id) | |
Protected Member Functions | |
getPostingFromRecord (array $rec) | |
Definition at line 27 of file class.PostingDBRepository.php.
ILIAS\Blog\Posting\PostingDBRepository::__construct | ( | protected ilDBInterface | $db, |
protected InternalDataService | $data | ||
) |
Definition at line 29 of file class.PostingDBRepository.php.
ILIAS\Blog\Posting\PostingDBRepository::create | ( | Posting | $posting | ) |
Definition at line 50 of file class.PostingDBRepository.php.
References $id, ILIAS\Blog\Posting\Posting\Posting\getAuthor(), ILIAS\Blog\Posting\Posting\Posting\getBlogId(), ILIAS\Blog\Posting\Posting\Posting\getCreated(), ILIAS\Blog\Posting\Posting\Posting\getLastWithdrawn(), ILIAS\Blog\Posting\Posting\Posting\getTitle(), IL_CAL_DATETIME, and ILIAS\Blog\Posting\Posting\Posting\isApproved().
ILIAS\Blog\Posting\PostingDBRepository::delete | ( | int | $id | ) |
Definition at line 90 of file class.PostingDBRepository.php.
References $id.
ILIAS\Blog\Posting\PostingDBRepository::deleteAllBlogPostings | ( | int | $blog_id | ) |
Definition at line 99 of file class.PostingDBRepository.php.
ILIAS\Blog\Posting\PostingDBRepository::exists | ( | int | $blog_id, |
int | $posting_id | ||
) |
Definition at line 138 of file class.PostingDBRepository.php.
ILIAS\Blog\Posting\PostingDBRepository::getAllByBlog | ( | int | $blog_id, |
int | $limit = 1000 , |
||
int | $offset = 0 |
||
) |
Definition at line 121 of file class.PostingDBRepository.php.
References ILIAS\Blog\Posting\PostingDBRepository\getPostingFromRecord().
Referenced by ILIAS\Blog\Posting\PostingDBRepository\getLastPost().
ILIAS\Blog\Posting\PostingDBRepository::getById | ( | int | $id | ) |
Definition at line 77 of file class.PostingDBRepository.php.
References ILIAS\Blog\Posting\PostingDBRepository\getPostingFromRecord(), and null.
ILIAS\Blog\Posting\PostingDBRepository::getLastPost | ( | int | $blog_id | ) |
Definition at line 148 of file class.PostingDBRepository.php.
References ILIAS\Blog\Posting\PostingDBRepository\getAllByBlog().
|
protected |
Definition at line 35 of file class.PostingDBRepository.php.
References IL_CAL_DATETIME, and null.
Referenced by ILIAS\Blog\Posting\PostingDBRepository\getAllByBlog(), and ILIAS\Blog\Posting\PostingDBRepository\getById().
ILIAS\Blog\Posting\PostingDBRepository::lookupBlogId | ( | int | $posting_id | ) |
Definition at line 108 of file class.PostingDBRepository.php.
References null.
ILIAS\Blog\Posting\PostingDBRepository::searchBlogsByAuthor | ( | int | $user_id | ) |
Definition at line 154 of file class.PostingDBRepository.php.
References ILIAS\Repository\int().
ILIAS\Blog\Posting\PostingDBRepository::update | ( | Posting | $posting | ) |
Definition at line 65 of file class.PostingDBRepository.php.
References ILIAS\Blog\Posting\Posting\Posting\getCreated(), ILIAS\Blog\Posting\Posting\Posting\getId(), ILIAS\Blog\Posting\Posting\Posting\getLastWithdrawn(), ILIAS\Blog\Posting\Posting\Posting\getTitle(), IL_CAL_DATETIME, and ILIAS\Blog\Posting\Posting\Posting\isApproved().