AppLocale Class Reference

List of all members.

Public Member Functions

 getLocale ()
 getLocalePrecedence ()
 getPrimaryLocale ()
 getSupportedFormLocales ()
 getSupportedLocales ()
 makeComponentMap ($locale)

Detailed Description

Definition at line 28 of file AppLocale.inc.php.


Member Function Documentation

AppLocale.getLocale (  ) 

Return the key name of the user's currently selected locale (default is "en_US" for U.S. English).

Returns:
string

Definition at line 72 of file AppLocale.inc.php.

References Request.getConference(), and getSupportedLocales().

Referenced by DirectorSubmissionDAO._getUnfilteredDirectorSubmissions(), TrackDirectorSubmissionDAO._getUnfilteredTrackDirectorSubmissions(), AboutHandler.aboutThisPublishingSystem(), PayPalPlugin.displayPaymentForm(), EmailHandler.emails(), EmailTemplateForm.execute(), AuthorSubmissionDAO.getAuthorSubmission(), AuthorSubmissionDAO.getAuthorSubmissions(), ConferenceEventLogDAO.getConferenceLogEntriesByAssoc(), DirectorSubmissionDAO.getDirectorSubmission(), PaperGalley.getGalleyLabel(), AuthorSubmissionDAO.getIncompleteSubmissions(), getLocalePrecedence(), Conference.getLocalizedFavicon(), PublishedPaper.getLocalizedGalleys(), SchedConf.getLocalizedSetting(), Conference.getLocalizedSetting(), ConferenceEventLogDAO.getLogEntry(), Conference.getPageHeaderLogo(), Conference.getPageHeaderTitle(), PaperDAO.getPaper(), PaperReportDAO.getPaperReport(), PaperDAO.getPapersBySchedConfId(), PaperDAO.getPapersByUserId(), PublishedPaperDAO.getPublishedPaperByPaperId(), PublishedPaperDAO.getPublishedPaperByPublicPaperId(), PublishedPaperDAO.getPublishedPaperIdsAlphabetizedByTitle(), PublishedPaperDAO.getPublishedPapers(), PublishedPaperDAO.getPublishedPapersBySchedConfId(), PublishedPaperDAO.getPublishedPapersByTrackId(), PublishedPaperDAO.getPublishedPapersInTracks(), RegistrantReportDAO.getRegistrantReport(), RegistrationOptionDAO.getRegistrationOptionName(), RegistrationTypeDAO.getRegistrationTypeName(), ReviewerSubmissionDAO.getReviewerSubmission(), ReviewerSubmissionDAO.getReviewerSubmissionsByReviewerId(), ReviewReportDAO.getReviewReport(), TrackDirectorSubmissionDAO.getTrackDirectorSubmission(), ImportOCS1.importConference(), ImportOCS1.importPapers(), ImportOCS1.importRegistrations(), ImportOCS1.importSchedConf(), ImportOCS1.importTracks(), AboutHandler.index(), InstallForm.initData(), EmailTemplateForm.initData(), SchedConfHandler.program(), CustomLocalePlugin.register(), ConferenceRTAdmin.restoreVersions(), TrackDirectorAction.setEditingFile(), SubmitHandler.submitUploadSuppFile(), OAIMetadataFormat_DC.toXml(), SubmissionEditHandler.uploadSuppFile(), and LDAPAuthPlugin.userFromAttr().

AppLocale.getLocalePrecedence (  ) 

Get the stack of "important" locales, most important first.

Returns:
array

Definition at line 131 of file AppLocale.inc.php.

References Request.getConference(), getLocale(), and getPrimaryLocale().

AppLocale.getPrimaryLocale (  ) 

Retrieve the primary locale of the current context.

Returns:
string

Definition at line 149 of file AppLocale.inc.php.

References Request.getConference().

Referenced by DirectorSubmissionDAO._getUnfilteredDirectorSubmissions(), TrackDirectorSubmissionDAO._getUnfilteredTrackDirectorSubmissions(), AboutHandler.aboutThisPublishingSystem(), AuthorSubmissionDAO.getAuthorSubmission(), AuthorSubmissionDAO.getAuthorSubmissions(), ConferenceEventLogDAO.getConferenceLogEntriesByAssoc(), DirectorSubmissionDAO.getDirectorSubmission(), AuthorSubmissionDAO.getIncompleteSubmissions(), getLocalePrecedence(), Conference.getLocalizedFavicon(), PublishedPaper.getLocalizedGalleys(), SchedConf.getLocalizedSetting(), Conference.getLocalizedSetting(), ConferenceEventLogDAO.getLogEntry(), Conference.getPageHeaderLogo(), Conference.getPageHeaderTitle(), PaperDAO.getPaper(), PaperReportDAO.getPaperReport(), PaperDAO.getPapersBySchedConfId(), PaperDAO.getPapersByUserId(), PublishedPaperDAO.getPublishedPaperByPaperId(), PublishedPaperDAO.getPublishedPaperByPublicPaperId(), PublishedPaperDAO.getPublishedPaperIdsAlphabetizedByTitle(), PublishedPaperDAO.getPublishedPapers(), PublishedPaperDAO.getPublishedPapersBySchedConfId(), PublishedPaperDAO.getPublishedPapersByTrackId(), PublishedPaperDAO.getPublishedPapersInTracks(), RegistrantReportDAO.getRegistrantReport(), RegistrationOptionDAO.getRegistrationOptionName(), RegistrationTypeDAO.getRegistrationTypeName(), ReviewerSubmissionDAO.getReviewerSubmission(), ReviewerSubmissionDAO.getReviewerSubmissionsByReviewerId(), ReviewReportDAO.getReviewReport(), TrackDirectorSubmissionDAO.getTrackDirectorSubmission(), AboutHandler.index(), UserXMLParser.parseData(), and SchedConfSetupStep2Form.validate().

AppLocale.getSupportedFormLocales (  ) 

Get all supported form locales for the current context.

Returns:
array

Definition at line 52 of file AppLocale.inc.php.

References Request.getConference().

AppLocale.getSupportedLocales (  ) 

Get all supported UI locales for the current context.

Returns:
array

Definition at line 33 of file AppLocale.inc.php.

References Request.getConference().

Referenced by getLocale().

AppLocale.makeComponentMap ( locale  ) 

Make a map of components to their respective files.

Parameters:
$locale string
Returns:
array

Definition at line 173 of file AppLocale.inc.php.

Referenced by genTestLocale.execute(), and CustomLocaleAction.getLocaleFiles().


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7