[ 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.class.php (sommaire)

(pas de description)

Poids: 301 lignes (7 kb)
Inclus ou requis: 2 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

PMA_Theme:: (17 méthodes):
  loadInfo()
  load()
  checkImgPath()
  getPath()
  getLayoutFile()
  setPath()
  setVersion()
  getVersion()
  checkVersion()
  setName()
  getName()
  setId()
  getId()
  setImgPath()
  getImgPath()
  loadCss()
  printPreview()


Classe: PMA_Theme  - X-Ref

loadInfo()   X-Ref


load($folder)   X-Ref
returns theme object loaded from given folder
or false if theme is invalid

param: string  path to theme
return: object  PMA_Theme

checkImgPath()   X-Ref
Pas de description

getPath()   X-Ref
returns path to theme

return: string  $path   path to theme

getLayoutFile()   X-Ref
returns layout file

return: string  layout file

setPath($path)   X-Ref
set path to theme

param: string  $path   path to theme

setVersion($version)   X-Ref
sets version

param: string new version

getVersion()   X-Ref
returns version

return: string  version

checkVersion($version)   X-Ref
checks theme version agaisnt $version
returns true if theme version is equal or higher to $version

param: string  $version    version to compare to
return: boolean

setName($name)   X-Ref
sets name

param: string  $name   new name

getName()   X-Ref
returns name

return: string name

setId($id)   X-Ref
sets id

param: string  $id   new id

getId()   X-Ref
returns id

return: string id

setImgPath($path)   X-Ref
Pas de description

getImgPath()   X-Ref
Pas de description

loadCss(&$type)   X-Ref
load css (send to stdout, normaly the browser)

param: string  $type   left, right or print

printPreview()   X-Ref
prints out the preview for this theme




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