ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (InternalDataService $data, \ilDBInterface $db) | |
delete ($id, $lang="-") | |
getWikiPages (int $wiki_id, string $lang="-") | |
getMasterPagesWithoutTranslation (int $wiki_id, string $trans) | |
getAllPagesInfo (int $wiki_id) | |
Queries last change and user per page regardless of language. More... | |
getInfoOfSelected ($wiki_id, array $ids, $lang="-") | |
getRecentChanges (int $wiki_id, int $period=30) | |
Queries last change and user per page regardless of language. More... | |
getNewPages (int $wiki_id) | |
getPopularPages (int $a_wiki_id) | |
getLanguages (int $wpg_id) | |
doesAtLeastOnePageExist (int $wiki_id, array $ids) | |
getPageIdForTitle (int $wiki_id, string $title, string $lang="-") | |
existsByTitle (int $wiki_id, string $title, string $lang="-") | |
exists (int $id, string $lang="-") | |
getTitle (int $id, string $lang="-") | |
getWikiIdByPageId (int $id) | |
Protected Member Functions | |
getPageFromRecord (array $rec) | |
getPageInfoFromRecord (array $rec) | |
Protected Attributes | |
InternalDataService | $data |
ilDBInterface | $db |
Wiki page repo.
Definition at line 28 of file PageDBRepository.php.
ILIAS\Wiki\Page\PageDBRepository::__construct | ( | InternalDataService | $data, |
\ilDBInterface | $db | ||
) |
Definition at line 33 of file PageDBRepository.php.
References ILIAS\Wiki\Page\PageDBRepository\$data, and ILIAS\Wiki\Page\PageDBRepository\$db.
ILIAS\Wiki\Page\PageDBRepository::delete | ( | $id, | |
$lang = "-" |
|||
) |
Definition at line 41 of file PageDBRepository.php.
References $id, and ilDBInterface\quote().
ILIAS\Wiki\Page\PageDBRepository::doesAtLeastOnePageExist | ( | int | $wiki_id, |
array | $ids | ||
) |
Definition at line 238 of file PageDBRepository.php.
ILIAS\Wiki\Page\PageDBRepository::exists | ( | int | $id, |
string | $lang = "-" |
||
) |
Definition at line 285 of file PageDBRepository.php.
Referenced by ILIAS\Wiki\Page\PageDBRepository\existsByTitle().
ILIAS\Wiki\Page\PageDBRepository::existsByTitle | ( | int | $wiki_id, |
string | $title, | ||
string | $lang = "-" |
||
) |
Definition at line 273 of file PageDBRepository.php.
References $id, ILIAS\Wiki\Page\PageDBRepository\exists(), and ILIAS\Wiki\Page\PageDBRepository\getPageIdForTitle().
ILIAS\Wiki\Page\PageDBRepository::getAllPagesInfo | ( | int | $wiki_id | ) |
Queries last change and user per page regardless of language.
Definition at line 117 of file PageDBRepository.php.
References ILIAS\Wiki\Page\PageDBRepository\getPageInfoFromRecord(), and ILIAS\Repository\int().
ILIAS\Wiki\Page\PageDBRepository::getInfoOfSelected | ( | $wiki_id, | |
array | $ids, | ||
$lang = "-" |
|||
) |
Definition at line 140 of file PageDBRepository.php.
References ILIAS\Wiki\Page\PageDBRepository\getPageInfoFromRecord().
ILIAS\Wiki\Page\PageDBRepository::getLanguages | ( | int | $wpg_id | ) |
Definition at line 223 of file PageDBRepository.php.
ILIAS\Wiki\Page\PageDBRepository::getMasterPagesWithoutTranslation | ( | int | $wiki_id, |
string | $trans | ||
) |
Definition at line 99 of file PageDBRepository.php.
References ILIAS\Wiki\Page\PageDBRepository\getPageFromRecord().
ILIAS\Wiki\Page\PageDBRepository::getNewPages | ( | int | $wiki_id | ) |
Definition at line 186 of file PageDBRepository.php.
References ILIAS\Wiki\Page\PageDBRepository\getPageInfoFromRecord().
|
protected |
Definition at line 52 of file PageDBRepository.php.
Referenced by ILIAS\Wiki\Page\PageDBRepository\getMasterPagesWithoutTranslation(), and ILIAS\Wiki\Page\PageDBRepository\getWikiPages().
ILIAS\Wiki\Page\PageDBRepository::getPageIdForTitle | ( | int | $wiki_id, |
string | $title, | ||
string | $lang = "-" |
||
) |
Definition at line 250 of file PageDBRepository.php.
References ilWikiUtil\makeDbTitle(), and null.
Referenced by ILIAS\Wiki\Page\PageDBRepository\existsByTitle().
|
protected |
Definition at line 65 of file PageDBRepository.php.
Referenced by ILIAS\Wiki\Page\PageDBRepository\getAllPagesInfo(), ILIAS\Wiki\Page\PageDBRepository\getInfoOfSelected(), ILIAS\Wiki\Page\PageDBRepository\getNewPages(), ILIAS\Wiki\Page\PageDBRepository\getPopularPages(), and ILIAS\Wiki\Page\PageDBRepository\getRecentChanges().
ILIAS\Wiki\Page\PageDBRepository::getPopularPages | ( | int | $a_wiki_id | ) |
Definition at line 204 of file PageDBRepository.php.
References ILIAS\Wiki\Page\PageDBRepository\getPageInfoFromRecord().
ILIAS\Wiki\Page\PageDBRepository::getRecentChanges | ( | int | $wiki_id, |
int | $period = 30 |
||
) |
Queries last change and user per page regardless of language.
Definition at line 161 of file PageDBRepository.php.
References $q, and ILIAS\Wiki\Page\PageDBRepository\getPageInfoFromRecord().
ILIAS\Wiki\Page\PageDBRepository::getTitle | ( | int | $id, |
string | $lang = "-" |
||
) |
Definition at line 303 of file PageDBRepository.php.
ILIAS\Wiki\Page\PageDBRepository::getWikiIdByPageId | ( | int | $id | ) |
Definition at line 320 of file PageDBRepository.php.
References null.
ILIAS\Wiki\Page\PageDBRepository::getWikiPages | ( | int | $wiki_id, |
string | $lang = "-" |
||
) |
Definition at line 83 of file PageDBRepository.php.
References ILIAS\Wiki\Page\PageDBRepository\getPageFromRecord().
|
protected |
Definition at line 30 of file PageDBRepository.php.
Referenced by ILIAS\Wiki\Page\PageDBRepository\__construct().
|
protected |
Definition at line 31 of file PageDBRepository.php.
Referenced by ILIAS\Wiki\Page\PageDBRepository\__construct().