|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ILIAS\Blog\Posting\PostingDBRepository: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\getAuthor(), ILIAS\Blog\Posting\Posting\getBlogId(), ILIAS\Blog\Posting\Posting\getCreated(), ILIAS\Blog\Posting\Posting\getLastWithdrawn(), ILIAS\Blog\Posting\Posting\getTitle(), IL_CAL_DATETIME, and ILIAS\Blog\Posting\Posting\isApproved().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Blog\Posting\PostingDBRepository::getById | ( | int | $id | ) |
Definition at line 77 of file class.PostingDBRepository.php.
References $id, and ILIAS\Blog\Posting\PostingDBRepository\getPostingFromRecord().
Here is the call graph for this function:| ILIAS\Blog\Posting\PostingDBRepository::getLastPost | ( | int | $blog_id | ) |
Definition at line 148 of file class.PostingDBRepository.php.
References ILIAS\Blog\Posting\PostingDBRepository\getAllByBlog().
Here is the call graph for this function:
|
protected |
Definition at line 35 of file class.PostingDBRepository.php.
References IL_CAL_DATETIME.
Referenced by ILIAS\Blog\Posting\PostingDBRepository\getAllByBlog(), and ILIAS\Blog\Posting\PostingDBRepository\getById().
Here is the caller graph for this function:| ILIAS\Blog\Posting\PostingDBRepository::lookupBlogId | ( | int | $posting_id | ) |
Definition at line 108 of file class.PostingDBRepository.php.
| ILIAS\Blog\Posting\PostingDBRepository::searchBlogsByAuthor | ( | int | $user_id | ) |
Definition at line 154 of file class.PostingDBRepository.php.
References $user_id, and ILIAS\Repository\int().
Here is the call graph for this function:| ILIAS\Blog\Posting\PostingDBRepository::update | ( | Posting | $posting | ) |
Definition at line 65 of file class.PostingDBRepository.php.
References ILIAS\Blog\Posting\Posting\getCreated(), ILIAS\Blog\Posting\Posting\getId(), ILIAS\Blog\Posting\Posting\getLastWithdrawn(), ILIAS\Blog\Posting\Posting\getTitle(), IL_CAL_DATETIME, and ILIAS\Blog\Posting\Posting\isApproved().
Here is the call graph for this function: