[ Index ]
 

Code source de phpMyAdmin 2.10.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/libraries/ -> Theme_Manager.class.php (sommaire)

(pas de description)

Poids: 386 lignes (11 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 1 fichier
 libraries/Theme.class.php

Définit 1 class

PMA_Theme_Manager:: (19 méthodes):
  __construct()
  setThemesPath()
  getThemesPath()
  setThemePerServer()
  init()
  checkConfig()
  setActiveTheme()
  getThemeCookieName()
  getThemeCookie()
  setThemeCookie()
  PMA_Theme_Manager()
  _checkThemeFolder()
  loadThemes()
  checkTheme()
  getHtmlSelectBox()
  makeBc()
  printPreviews()
  getFallBackTheme()
  printCss()


Classe: PMA_Theme_Manager  - X-Ref

__construct()   X-Ref


setThemesPath($path)   X-Ref
sets path to folder containing the themes

param: string  $path   path to themes folder
return: boolean success

getThemesPath()   X-Ref

return: string

setThemePerServer($per_server)   X-Ref
sets if there are different themes per server

param: boolean $per_server

init()   X-Ref
Pas de description

checkConfig()   X-Ref
Pas de description

setActiveTheme($theme = null)   X-Ref
Pas de description

getThemeCookieName()   X-Ref

return: string  cookie name

getThemeCookie()   X-Ref
returns name of theme stored in the cookie

return: string  theme name from cookie

setThemeCookie()   X-Ref
save theme in cookie


PMA_Theme_Manager()   X-Ref
old PHP 4 constructor


_checkThemeFolder($folder)   X-Ref

param: string $folder
return: boolean

loadThemes()   X-Ref
read all themes


checkTheme($theme)   X-Ref
checks if given theme name is a known theme

param: string  $theme  name fo theme to check for

getHtmlSelectBox($form = true)   X-Ref
returns HTML selectbox, with or without form enclsoed

param: boolean $form   wether enclosed by from tags or not

makeBc()   X-Ref
enables backward compatibility


printPreviews()   X-Ref
prints out preview for every theme


getFallBackTheme()   X-Ref
returns PMA_Theme object for fall back theme

return: object   PMA_Theme

printCss($type)   X-Ref
prints css data




Généré le : Mon Nov 26 15:18:20 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics