phpDocumentor GalleryCore
UserInterface
[ class tree: GalleryCore ] [ index: GalleryCore ] [ all elements ]

Class: AdminLanguageManagerView

Source Location: /modules/core/AdminLanguageManager.inc

Class AdminLanguageManagerView

Class Overview

This view will show all repository-related features.

Located in /modules/core/AdminLanguageManager.inc [line 384]

GalleryView
   |
   --AdminLanguageManagerView

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From GalleryView

GalleryView::$_l10Domain

Inherited From GalleryView

GalleryView::autoCacheControl()
Method to opt-in to managed HTTP cache control
GalleryView::doLoadTemplate()
Prepare all the various things that a view requires in order to load up the template properly (like the theme, the form variables, the status variables, etc. then call the view's loadTemplate() method and pass in the given template.
GalleryView::getItem()
Return the current item, as specified in the itemId request variable.
GalleryView::getL10Domain()
Get the localization domain for this view.
GalleryView::getViewDescription()
This should return a description of the current view.
GalleryView::getViewType()
Type of view.
GalleryView::init()
Initialize the view.
GalleryView::isAllowedInEmbedOnly()
Does this view allow direct access even in embed-only mode?
GalleryView::isAllowedInMaintenance()
Does this view allow access to non-admins when site is in maintenance mode?
GalleryView::isControllerLike()
Does this view change any data? Only controllers should change data, but AJAX and some immediate views are handled in views in Gallery.
GalleryView::isImmediate()
Is this an immediate or a buffered view?
GalleryView::loadTemplate()
Load the template with data from this view.
GalleryView::loadThemeAndParameters()
Load theme, theme parameters and item to use for this view.
GalleryView::loadThemeForItem()
Get the theme for this item by finding the theme id for the nearest album.
GalleryView::loadView()
Load a view.
GalleryView::renderImmediate()
Print out the immediate output for this view. This will bypass any global templating. This style of view should be reserved for binary data.
GalleryView::setCacheControl()
Set cache headers for sensitive pages
GalleryView::setStandardTemplateVariables()
Set standard user information available for every view.
GalleryView::shouldSaveSession()
Should session be saved and session cookie sent when this view is accessed?
GalleryView::_getItem()
Return the current item, as specified in the itemId request variable.
GalleryView::_getThemeAndParametersByEvent()
Let non-core code override the theme and its parameters for this request.
GalleryView::_loadTheme()
Load the given theme if it's active.
GalleryView::_permissionCheck()
Process possible permission errors when accessing a view.

[ Top ]
Method Summary
void   loadTemplate()  
array   _determinePackageAvailability()   Count the number of packages available for download from this repository
array   _getAllLanguages()   Creates a list of all upgradeable packages.

[ Top ]
Methods
loadTemplate  [line 389]

  void loadTemplate( &$template, &$form  )

Parameters:
   &$template: 
   &$form: 

API Tags:
See:  GalleryView::loadTemplate


Redefinition of:
GalleryView::loadTemplate()
Load the template with data from this view.

[ Top ]
_determinePackageAvailability  [line 594]

  array _determinePackageAvailability( GalleryRepository $repository, array $langCodes  )

Count the number of packages available for download from this repository

Parameters:
GalleryRepository   $repository: 
array   $langCodes:  to count the packages (should be all related i.e. es, es_MX, es_AR)

API Tags:
Return:  GalleryStatus a status code int package count


[ Top ]
_getAllLanguages  [line 488]

  array _getAllLanguages( GalleryRepository $repository, &$enableAllFlags, array $enableAllFlags  )

Creates a list of all upgradeable packages.

It goes through all installed plugins and checks if an update is available to any of their packages and adds it to a list if it is.

Parameters:
GalleryRepository   $repository: 
array   $enableAllFlags:  flags indicating if the select all flag should be be enabled
   &$enableAllFlags: 

API Tags:
Return:  GalleryStatus a status code array package list


[ Top ]

Documentation generated on Fri, 08 Oct 2010 04:33:37 -0700 by phpDocumentor 1.3.0RC6