Procedural File: index.php
Source Location: /lodel/src/index.php
Page Details
Fichier racine - porte d'entrée principale du site
Ce fichier permet de faire appel aux différentes entités (documents), via leur id, leur identifier (lien permanent). Il permet aussi d'appeler un template particulier (via l'argument page=) Voici des exemples d'utilisations index.php?/histoire/france/charlemagne-le-pieux
index.php?id=48
index.php?page=rss20
index.php?do=view&idtype=2
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 Copyright (c) 2007, Marin Dacos, Bruno Cénou, Sophie Malafosse, Pierre-Alain Mignot 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.
| Author: | Jean Lamy |
| Author: | Ghislain Picard |
| Version: | CVS:$Id: |
| Copyright: | 2005, Ghislain Picard, Marin Dacos, Luc Santeramo, Gautier Poupeau, Jean Lamy, Bruno Cénou |
| Copyright: | 2006, Marin Dacos, Luc Santeramo, Bruno Cénou, Jean Lamy, Mikaël Cixous, Sophie Malafosse |
| Copyright: | 2007, Marin Dacos, Bruno Cénou, Sophie Malafosse, Pierre-Alain Mignot |
| Filesource: | Source Code for this file |
Includes
include
("../missing.html")
[line 63]
include
($home."../../missing.html")
[line 137]
Fichier racine - porte d'entrée principale du site
Ce fichier permet de faire appel aux différentes entités (documents), via leur id, leur identifier (lien permanent). Il permet aussi d'appeler un template particulier (via l'argument page=) Voici des exemples d'utilisations index.php?/histoire/france/charlemagne-le-pieux
index.php?id=48
index.php?page=rss20
index.php?do=view&idtype=2
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 Copyright (c) 2007, Marin Dacos, Bruno Cénou, Sophie Malafosse, Pierre-Alain Mignot 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. API Tags:
Information Tags:
| Author: | Jean Lamy |
| Author: | Ghislain Picard |
| Version: | CVS:$Id: |
| Copyright: | 2005, Ghislain Picard, Marin Dacos, Luc Santeramo, Gautier Poupeau, Jean Lamy, Bruno Cénou |
| Copyright: | 2006, Marin Dacos, Luc Santeramo, Bruno Cénou, Jean Lamy, Mikaël Cixous, Sophie Malafosse |
| Copyright: | 2007, Marin Dacos, Bruno Cénou, Sophie Malafosse, Pierre-Alain Mignot |
Functions
void printEntities(
integer $id, string $identifier, array &$context
)
|
|
Affichage d'une entité
Affiche une entité grâce à son id, son identifiant. Appelle la vue associée
Parameters:
|
integer |
$id: |
identifiant de l'entité |
|
string |
$identifier: |
l'identifiant littéral de l'entité |
|
array |
&$context: |
le contexte par référence |
void printIndex(
integer $id, string $classtype, array &$context
)
|
|
Affichage d'un objet de type index
Parameters:
|
integer |
$id: |
identifiant numérique de l'index |
|
string |
$classtype: |
type de la classe |
|
array |
&$context: |
le context par référence |
|
|