Interface for multi-lingual plugin
package | kocuj_sitemap |
---|
afterGetAuthorItem(integer $authorId, string $locale) : void
access | public |
---|
integer
Author id
string
Language locale
afterGetAuthors(string $locale) : void
access | public |
---|
string
Language locale
afterGetBlogName() : void
access | public |
---|
afterGetCategories(string $locale) : void
access | public |
---|
string
Language locale
afterGetCategoryItem(integer $categoryId, string $locale) : void
access | public |
---|
integer
Category id
string
Language locale
afterGetCustomPostItem(integer $customPostId, string $locale) : void
access | public |
---|
integer
Custom post id
string
Language locale
afterGetCustomPosts(string $locale) : void
access | public |
---|
string
Language locale
afterGetHomeURL(string $locale) : void
access | public |
---|
string
Language locale
afterGetMenu(string $locale) : void
access | public |
---|
string
Language locale
afterGetMenuItem(integer $itemId, string $locale) : void
access | public |
---|
integer
Menu item id
string
Language locale
afterGetPageItem(integer $pageId, string $locale) : void
access | public |
---|
integer
Page id
string
Language locale
afterGetPages(string $locale) : void
access | public |
---|
string
Language locale
afterGetPostItem(integer $postId, string $locale) : void
access | public |
---|
integer
Post id
string
Language locale
afterGetPosts(string $locale) : void
access | public |
---|
string
Language locale
afterGetTagItem(integer $tagId, string $locale) : void
access | public |
---|
integer
Tag id
string
Language locale
afterGetTags(string $locale) : void
access | public |
---|
string
Language locale
afterGetTaxonomies(string $taxonomy, string $locale) : void
access | public |
---|
string
Taxonomy type
string
Language locale
afterGetTaxonomyItem(integer $termId, string $taxonomy, string $locale) : void
access | public |
---|
integer
Taxonomy id
string
Taxonomy type
string
Language locale
afterProcess(string $locale) : void
access | public |
---|
string
Language locale
beforeGetAuthorItem(integer $authorId, string $locale) : void
access | public |
---|
integer
Author id
string
Language locale
beforeGetAuthors(string $locale) : void
access | public |
---|
string
Language locale
beforeGetBlogName() : void
access | public |
---|
beforeGetCategories(string $locale) : void
access | public |
---|
string
Language locale
beforeGetCategoryItem(integer $categoryId, string $locale) : void
access | public |
---|
integer
Category id
string
Language locale
beforeGetCustomPostItem(integer $customPostId, string $locale) : void
access | public |
---|
integer
Custom post id
string
Language locale
beforeGetCustomPosts(string $locale) : void
access | public |
---|
string
Language locale
beforeGetHomeURL(string $locale) : void
access | public |
---|
string
Language locale
beforeGetMenu(string $locale) : void
access | public |
---|
string
Language locale
beforeGetMenuItem(integer $itemId, string $locale) : void
access | public |
---|
integer
Menu item id
string
Language locale
beforeGetPageItem(integer $pageId, string $locale) : void
access | public |
---|
integer
Page id
string
Language locale
beforeGetPages(string $locale) : void
access | public |
---|
string
Language locale
beforeGetPostItem(integer $postId, string $locale) : void
access | public |
---|
integer
Post id
string
Language locale
beforeGetPosts(string $locale) : void
access | public |
---|
string
Language locale
beforeGetTagItem(integer $tagId, string $locale) : void
access | public |
---|
integer
Tag id
string
Language locale
beforeGetTags(string $locale) : void
access | public |
---|
string
Language locale
beforeGetTaxonomies(string $taxonomy, string $locale) : void
access | public |
---|
string
Taxonomy type
string
Language locale
beforeGetTaxonomyItem(integer $termId, string $taxonomy, string $locale) : void
access | public |
---|
integer
Term id
string
Taxonomy type
string
Language locale
beforeProcess(string $locale) : void
access | public |
---|
string
Language locale
checkPlugin() : boolean
access | public |
---|
boolean
Translation plugin exists (true) or not (false)getInstance() : object
access | public |
---|
object
Singleton instancegetLanguageFlag(string $locale) : string
access | public |
---|
string
Language locale
string
URL to language flaggetLanguages() : array
access | public |
---|
array
Languages listgetName() : string
access | public |
---|
string
Plugin namegetPluginFile() : string
access | public |
---|
string
Translation plugin filenamegetPriority() : string
access | public |
---|
string
Plugin prioritygetTranslatedAuthorName(string $origName, integer $authorId, string $locale) : string
access | public |
---|
string
Original author name
integer
Author id
string
Language locale
string
Translated author namegetTranslatedAuthorURL(string $origURL, integer $authorId, string $locale) : string
access | public |
---|
string
Original author URL
integer
Author id
string
Language locale
string
Translated author URLgetTranslatedBlogName(string $origText, string $locale) : string
access | public |
---|
string
Original text
string
Language locale
string
Translated textgetTranslatedCategoryTitle(string $origTitle, integer $categoryId, string $locale) : string
access | public |
---|
string
Original category title
integer
Category id
string
Language locale
string
Translated category titlegetTranslatedCategoryURL(string $origURL, integer $categoryId, string $locale) : string
access | public |
---|
string
Original category URL
integer
Category id
string
Language locale
string
Translated category URLgetTranslatedCustomPostTitle(string $origTitle, integer $customPostId, string $locale) : string
access | public |
---|
string
Original custom post title
integer
Custom post id
string
Language locale
string
Translated custom post titlegetTranslatedCustomPostURL(string $origURL, integer $customPostId, string $locale) : string
access | public |
---|
string
Original custom post URL
integer
Custom post id
string
Language locale
string
Translated custom post URLgetTranslatedHomeURL(string $origURL, string $locale) : string
access | public |
---|
string
Original home URL
string
Language locale
string
Translated home URLgetTranslatedMenuTitle(string $origTitle, integer $menuId, string $locale) : string
access | public |
---|
string
Original menu title
integer
Menu id
string
Language locale
string
Translated menu titlegetTranslatedMenuURL(string $origURL, integer $menuId, string $locale) : string
access | public |
---|
string
Original menu URL
integer
Menu id
string
Language locale
string
Translated menu URLgetTranslatedPageTitle(string $origTitle, integer $pageId, string $locale) : string
access | public |
---|
string
Original page title
integer
Page id
string
Language locale
string
Translated page titlegetTranslatedPageURL(string $origURL, integer $pageId, string $locale) : string
access | public |
---|
string
Original page URL
integer
Page id
string
Language locale
string
Translated page URLgetTranslatedPostTitle(string $origTitle, integer $postId, string $locale) : string
access | public |
---|
string
Original post title
integer
Post id
string
Language locale
string
Translated post titlegetTranslatedPostURL(string $origURL, integer $postId, string $locale) : string
access | public |
---|
string
Original post URL
integer
Post id
string
Language locale
string
Translated post URLgetTranslatedTagName(string $origName, integer $tagId, string $locale) : string
access | public |
---|
string
Original tag name
integer
Tag id
string
Language locale
string
Translated tag namegetTranslatedTagURL(string $origURL, integer $tagId, string $locale) : string
access | public |
---|
string
Original tag URL
integer
Tag id
string
Language locale
string
Translated tag URLgetTranslatedTaxonomyTitle(string $origTitle, integer $termId, string $taxonomy, string $locale) : string
access | public |
---|
string
Original taxonomy title
integer
Taxonomy id
string
Taxonomy type
string
Language locale
string
Translated taxonomy titlegetTranslatedTaxonomyURL(string $origURL, integer $termId, string $taxonomy, string $locale) : string
access | public |
---|
string
Original taxonomy URL
integer
Taxonomy id
string
Taxonomy type
string
Language locale
string
Translated taxonomy URL