Multiple languages plugin class - qTranslate X
access | public |
---|---|
package | kocuj_sitemap |
afterGetAuthorItem(integer $authorId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetAuthorItem() |
integer
Author id
string
Language locale
afterGetAuthors(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetAuthors() |
string
Language locale
afterGetBlogName() : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetBlogName() |
afterGetCategories(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetCategories() |
string
Language locale
afterGetCategoryItem(integer $categoryId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetCategoryItem() |
integer
Category id
string
Language locale
afterGetCustomPostItem(integer $customPostId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetCustomPostItem() |
integer
Custom post id
string
Language locale
afterGetCustomPosts(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetCustomPosts() |
string
Language locale
afterGetHomeURL(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetHomeURL() |
string
Language locale
afterGetMenu(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetMenu() |
string
Language locale
afterGetMenuItem(integer $itemId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetMenuItem() |
integer
Menu item id
string
Language locale
afterGetPageItem(integer $pageId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetPageItem() |
integer
Page id
string
Language locale
afterGetPages(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetPages() |
string
Language locale
afterGetPostItem(integer $postId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetPostItem() |
integer
Post id
string
Language locale
afterGetPosts(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetPosts() |
string
Language locale
afterGetTagItem(integer $tagId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetTagItem() |
integer
Tag id
string
Language locale
afterGetTags(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetTags() |
string
Language locale
afterGetTaxonomies(string $taxonomy, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetTaxonomies() |
string
Taxonomy type
string
Language locale
afterGetTaxonomyItem(integer $termId, string $taxonomy, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterGetTaxonomyItem() |
integer
Taxonomy id
string
Taxonomy type
string
Language locale
afterProcess(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::afterProcess() |
string
Language locale
beforeGetAuthorItem(integer $authorId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetAuthorItem() |
integer
Author id
string
Language locale
beforeGetAuthors(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetAuthors() |
string
Language locale
beforeGetBlogName() : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetBlogName() |
beforeGetCategories(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetCategories() |
string
Language locale
beforeGetCategoryItem(integer $categoryId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetCategoryItem() |
integer
Category id
string
Language locale
beforeGetCustomPostItem(integer $customPostId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetCustomPostItem() |
integer
Custom post id
string
Language locale
beforeGetCustomPosts(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetCustomPosts() |
string
Language locale
beforeGetHomeURL(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetHomeURL() |
string
Language locale
beforeGetMenu(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetMenu() |
string
Language locale
beforeGetMenuItem(integer $itemId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetMenuItem() |
integer
Menu item id
string
Language locale
beforeGetPageItem(integer $pageId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetPageItem() |
integer
Page id
string
Language locale
beforeGetPages(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetPages() |
string
Language locale
beforeGetPostItem(integer $postId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetPostItem() |
integer
Post id
string
Language locale
beforeGetPosts(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetPosts() |
string
Language locale
beforeGetTagItem(integer $tagId, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetTagItem() |
integer
Tag id
string
Language locale
beforeGetTags(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetTags() |
string
Language locale
beforeGetTaxonomies(string $taxonomy, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetTaxonomies() |
string
Taxonomy type
string
Language locale
beforeGetTaxonomyItem(integer $termId, string $taxonomy, string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeGetTaxonomyItem() |
integer
Term id
string
Taxonomy type
string
Language locale
beforeProcess(string $locale) : void
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::beforeProcess() |
string
Language locale
checkPlugin() : boolean
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::checkPlugin() |
boolean
Translation plugin exists (true) or not (false)filterGetTerms(array $terms) : array
access | public |
---|
array
Terms
array
Modified termsgetInstance() : object
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getInstance() |
object
Singleton instancegetLanguageFlag(string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getLanguageFlag() |
string
Language locale
string
URL to language flaggetLanguages() : array
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getLanguages() |
array
Languages listgetName() : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getName() |
string
Plugin namegetPluginFile() : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getPluginFile() |
string
Translation plugin filenamegetPriority() : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getPriority() |
string
Plugin prioritygetTranslatedAuthorName(string $origName, integer $authorId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedAuthorName() |
string
Original author name
integer
Author id
string
Language locale
string
Translated author namegetTranslatedAuthorURL(string $origURL, integer $authorId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedAuthorURL() |
string
Original author URL
integer
Author id
string
Language locale
string
Translated author URLgetTranslatedBlogName(string $origText, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedBlogName() |
string
Original text
string
Language locale
string
Translated textgetTranslatedCategoryTitle(string $origTitle, integer $categoryId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedCategoryTitle() |
string
Original category title
integer
Category id
string
Language locale
string
Translated category titlegetTranslatedCategoryURL(string $origURL, integer $categoryId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedCategoryURL() |
string
Original category URL
integer
Category id
string
Language locale
string
Translated category URLgetTranslatedCustomPostTitle(string $origTitle, integer $customPostId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedCustomPostTitle() |
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 |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedCustomPostURL() |
string
Original custom post URL
integer
Custom post id
string
Language locale
string
Translated custom post URLgetTranslatedHomeURL(string $origURL, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedHomeURL() |
string
Original home URL
string
Language locale
string
Translated home URLgetTranslatedMenuTitle(string $origTitle, integer $menuId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedMenuTitle() |
string
Original menu title
integer
Menu id
string
Language locale
string
Translated menu titlegetTranslatedMenuURL(string $origURL, integer $menuId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedMenuURL() |
string
Original menu URL
integer
Menu id
string
Language locale
string
Translated menu URLgetTranslatedPageTitle(string $origTitle, integer $pageId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedPageTitle() |
string
Original page title
integer
Page id
string
Language locale
string
Translated page titlegetTranslatedPageURL(string $origURL, integer $pageId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedPageURL() |
string
Original page URL
integer
Page id
string
Language locale
string
Translated page URLgetTranslatedPostTitle(string $origTitle, integer $postId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedPostTitle() |
string
Original post title
integer
Post id
string
Language locale
string
Translated post titlegetTranslatedPostURL(string $origURL, integer $postId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedPostURL() |
string
Original post URL
integer
Post id
string
Language locale
string
Translated post URLgetTranslatedTagName(string $origName, integer $tagId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedTagName() |
string
Original tag name
integer
Tag id
string
Language locale
string
Translated tag namegetTranslatedTagURL(string $origURL, integer $tagId, string $locale) : string
access | public |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedTagURL() |
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 |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedTaxonomyTitle() |
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 |
---|---|
inherited_from | \KocujSitemapPlugin\Interfaces\Language::getTranslatedTaxonomyURL() |
string
Original taxonomy URL
integer
Taxonomy id
string
Taxonomy type
string
Language locale
string
Translated taxonomy URL__clone() : void
access | private |
---|
__construct() : void
access | private |
---|
getTranslatedData(string $origData, string $type, string $locale, string $termType= ''
, integer $termId= 0
) : string
access | private |
---|
string
Original data
string
Data type; can be "text", "url" or "term"
string
Language locale
string
Term type; used only when $type="term"; default: empty
integer
Term id; used only when $type="term"; default: empty
string
Translated datagetTranslatedTerm(string $origText, string $termType, integer $termId, string $locale) : string
access | private |
---|
string
Original term name
string
Term type
integer
Term id
string
Language locale
string
Translated term namegetTranslatedText(string $origText, string $locale) : string
access | private |
---|
string
Original text
string
Language locale
string
Translated textgetTranslatedURL(string $origURL, string $locale) : string
access | private |
---|
string
Original URL
string
Language locale
string
Translated URLprepareLanguages() : void
access | private |
---|
$instance : object
NULL
access | private |
---|
$languages : array
array()
access | private |
---|
$languagesPrepared : array
false
access | private |
---|
$locale : string
''
access | private |
---|
FILTERS_ID_ADMIN_QTX_ADMIN = 'multiple-languages-qtranslate-x-admin-qtx_admin'
access | public |
---|
FILTERS_ID_ADMIN_QTX_ADMIN_CLASS_TRANSLATOR = 'multiple-languages-qtranslate-x-admin-qtx_admin_class_translator'
access | public |
---|
FILTERS_ID_ADMIN_QTX_ADMIN_UTILS = 'multiple-languages-qtranslate-x-admin-qtx_admin_utils'
access | public |
---|
FILTERS_ID_INC_QTX_CLASS_TRANSLATOR = 'multiple-languages-qtranslate-x-inc-qtx_class_translator'
access | public |
---|
FILTERS_ID_QTRANSLATE_FRONTEND = 'multiple-languages-qtranslate-x-qtranslate_frontend'
access | public |
---|
FILTERS_ID_QTRANSLATE_HOOKS = 'multiple-languages-qtranslate-x-qtranslate_hooks'
access | public |
---|
FILTERS_ID_QTRANSLATE_UTILS = 'multiple-languages-qtranslate-x-qtranslate_utils'
access | public |
---|