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

Procedural File: loops.php

Source Location: /lodel/scripts/loops.php

Page Details

Boucles Lodelscript prédéfinies PHP versions 4 et 5, 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
require_once ("loops_local.php") [line 46]

Boucles Lodelscript prédéfinies PHP versions 4 et 5, 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:
Filesource:  Source Code for this file

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
[ Top ]


Functions
childCanBeInThisType  [line 674]

void childCanBeInThisType( integer $type, integer $id  )

Test si un type $type peut être appliqué à une entité $id suivant le type de ses enfants.

Cette fonction est utilisée dans loop_compatible type

Parameters:
integer   $type:  l'identifiant du type
integer   $id:  l'identifiant de l'entité


[ Top ]
loop_compatible_types  [line 628]

void loop_compatible_types( &$context, string $funcname, array $arguments, array $context  )

Liste les types compatibles pour une entité. Cette boucle permet de construire la liste de modification du type d'une entité.

Elle vérifie les types que peut contenir le type parent (si on est pas à la racine). Si l'entité contient des enfants, elle vérifie aussi que les enfants peuvent contenir un type.

Parameters:
array   $context:  le contexte passé par référence
string   $funcname:  le nom de la fonction loop
array   $arguments:  les arguments éventuels
   &$context: 


[ Top ]
loop_errors  [line 529]

void loop_errors( &$context, $funcname, $arguments  )

loop_errors and loop_fielderror are used to show potential errors in the forms.

Parameters:
   &$context: 
   $funcname: 
   $arguments: 


[ Top ]
loop_extract_images  [line 131]

void loop_extract_images( $context, $funcname, $arguments  )
Parameters:
   $context: 
   $funcname: 
   $arguments: 


[ Top ]
loop_fielderror  [line 550]

void loop_fielderror( &$context, $funcname, $arguments  )
Parameters:
   &$context: 
   $funcname: 
   $arguments: 


[ Top ]
loop_field_selection_values  [line 561]

void loop_field_selection_values( &$context, $funcname, $arguments  )
Parameters:
   &$context: 
   $funcname: 
   $arguments: 


[ Top ]
loop_foreach  [line 587]

void loop_foreach( &$context, $funcname, $arguments  )

Parcours un tableau passé en argument de la LOOP :

<LOOP NAME="foreach" ARRAY="[#MONARRAY]"> On considère que le tableau est passé par l'argument array

Parameters:
   &$context: 
   $funcname: 
   $arguments: 


[ Top ]
loop_mltext  [line 484]

void loop_mltext( &$context, $funcname  )

function loop_mltext Display multilingual texts.

Parameters:
   &$context: 
   $funcname: 


[ Top ]
loop_next  [line 240]

void loop_next( $context, $funcname, $arguments  )
Parameters:
   $context: 
   $funcname: 
   $arguments: 


[ Top ]
loop_page_scale  [line 348]

void loop_page_scale( &$context, $funcname, $arguments  )

This loop walk on the array pages to print pages number and links

Parameters:
   &$context: 
   $funcname: 
   $arguments: 


[ Top ]
loop_paragraphs  [line 114]

void loop_paragraphs( $context, $funcname, $arguments  )
Parameters:
   $context: 
   $funcname: 
   $arguments: 


[ Top ]
loop_parentsentities  [line 54]

void loop_parentsentities( &$context, string $funcname, [string $critere = &quot;&quot;], array $context  )

Loop parententities

Parameters:
array   $context:  the context containing all the data
string   $funcname:  the name of the Lodelscript function to call
string   $critere:  the criterions to select the entities
   &$context: 


[ Top ]
loop_previous  [line 235]

void loop_previous( $context, $funcname, $arguments  )
Parameters:
   $context: 
   $funcname: 
   $arguments: 


[ Top ]
loop_rightonentity  [line 510]

void loop_rightonentity( &$context, $funcname, $arguments  )

loop which return the right to perform an action or not

Parameters:
   &$context: 
   $funcname: 
   $arguments: 


[ Top ]
loop_rss  [line 248]

void loop_rss( $context, $funcname, $arguments  )

Loop for reading RSS Flux using Magpie

Parameters:
   $context: 
   $funcname: 
   $arguments: 


[ Top ]
loop_rssitem  [line 308]

void loop_rssitem( $context, $funcname, $arguments  )
Parameters:
   $context: 
   $funcname: 
   $arguments: 


[ Top ]
loop_toc  [line 79]

void loop_toc( array $context, string $funcname, array $arguments  )

Loop displaying the table of contents (toc)

Parameters:
array   $context:  the context containing all the data
string   $funcname:  the name of the Lodelscript function to call
array   $arguments:  an array that can contain some arguments

API Tags:
Access:  public


[ Top ]
plageDeRecherche  [line 445]

void plageDeRecherche( $numPageCourante, $nbPagesTotal  )

Return an array with the first and last page taking into account the current

page and the total number of pages (from In-Extenso function)

Parameters:
   $numPageCourante: 
   $nbPagesTotal: 


[ Top ]
previousnext  [line 165]

void previousnext( $dir, $context, $funcname, $arguments  )
Parameters:
   $dir: 
   $context: 
   $funcname: 
   $arguments: 


[ Top ]
sql_not_xor  [line 230]

void sql_not_xor( $a, $b  )
Parameters:
   $a: 
   $b: 


[ Top ]
_constructPages  [line 387]

void _constructPages( &$context, $funcname, $arguments  )
Parameters:
   &$context: 
   $funcname: 
   $arguments: 

Information Tags:
Private:  construct page listing by given nbresults and currentoffset in the results

[ Top ]


Documentation generated on Thu, 17 Apr 2008 05:07:13 +0200 by phpDocumentor 1.4.0a2