phpDocumentor lodel
[ class tree: lodel ] [ index: lodel ] [ all elements ]

Procedural File: view.php

Source Location: /lodel/scripts/view.php

Page Details
Classes
Class Description
View Classe gérant la partie 'vue' du modèle MVC. Cette classe est un singleton.
Includes
include_once ('func.php') [line 44]

Fichier de la classe view.

PHP versions 4 et 5

LODEL - Logiciel d'Edition ELectronique.

Copyright (c) 2001-2002, Ghislain Picard, Marin Dacos Copyright (c) 2003, Ghislain Picard, Marin Dacos, Luc Santeramo, Nicolas Nutten, Anne Gentil-Beccot Copyright (c) 2004, Ghislain Picard, Marin Dacos, Luc Santeramo, Anne Gentil-Beccot, Bruno Cénou Copyright (c) 2005, Ghislain Picard, Marin Dacos, Luc Santeramo, Gautier Poupeau, Jean Lamy, Bruno Cénou Copyright (c) 2006, Marin Dacos, Luc Santeramo, Bruno Cénou, Jean Lamy, Mikaël Cixous, Sophie Malafosse

Home page: http://www.lodel.org

E-Mail: lodel@lodel.org

All Rights Reserved

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Information Tags:
Author:  Sophie Malafosse
Author:  Ghislain Picard
Author:  Jean Lamy
Version:  CVS:$Id: view.php 3810 2007-02-02 11:04:57Z malafosse $
Copyright:  2006, Marin Dacos, Luc Santeramo, Bruno Cénou, Jean Lamy, Mikaël Cixous, Sophie Malafosse
Copyright:  2005, Ghislain Picard, Marin Dacos, Luc Santeramo, Gautier Poupeau, Jean Lamy, Bruno Cénou
Since:  Fichier ajouté depuis la version 0.8
[ Top ]


Functions
generateLangCache  [line 411]

void generateLangCache( string $lang, string $file, array $tags  )

Genère le fichier de CACHE d'une page dans une autre langue.

Parameters:
string   $lang:  la langue dans laquelle on veut générer le cache
string   $file:  le fichier de cache
array   $tags:  la liste des tags à internationaliser.


[ Top ]
makeSelect  [line 368]

void makeSelect( &$context, string $varname, string $lo, [string $edittype = ''], array $context  )

Appelle la bonne fonction makeSelect suivant la logique appelée Cette fonction est utilisée dans le calcul de la page

Parameters:
array   $context:  Le tableau de toutes les variables du contexte
string   $varname:  Le nom de la variable du select
string   $lo:  Le nom de la logique appelée
string   $edittype:  Le type d'édition (par défaut vide)
   &$context: 


[ Top ]
renderOptions  [line 383]

void renderOptions( array $arr, array $selected  )

Affiche le tag HTML <option> pour les select normaux et multiples Cette fonction positionne l'attribut selected="selected" das tags options d'un select suivant les éléments qui sont effectivements sélectionnés.

Parameters:
array   $arr:  la liste des options
array   $selected:  la liste des éléments sélectionnés.


[ Top ]


Documentation generated on Wed, 29 Aug 2007 14:30:04 +0200 by phpDocumentor 1.4.0a2