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

Procedural File: taskfunc.php

Source Location: /lodel/scripts/taskfunc.php

Page Details

Fichier utilitaire de gestion des tâches (table task)

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.

Author:  Jean Lamy
Author:  Ghislain Picard
Version:  CVS:$Id:
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
Functions
gettask  [line 69]

void gettask( integer &$id, array 1  )

Retrouve une tâche suivant son identifiant

Parameters:
integer   &$id:  l'identifiant de la tâche
array   1:  retourne les informations concernant la tâche


[ Top ]
gettypeandclassfromtask  [line 96]

void gettypeandclassfromtask( array $task, array &$context  )

Suivant que le document est importé ou réimporté, les informations dans la tâche sont différentes. Cette fonction uniformise ces informations dans le context ($context).

Depending the document is imported or re-imported, the information in task are different. This function uniformize the information in the context

Parameters:
array   $task:  un tableau contenant les infos d'une tâche
array   &$context:  le context dans lequel seront mis à jour les informations


[ Top ]
maketask  [line 54]

integer maketask( string $name, string $etape, array $context, [integer $id = 0]  )

Ajoute une tâche dans la table

Parameters:
string   $name:  le nom de la tâche
string   $etape:  l'étape courante
integer   $id:  par défaut 0. l'id de la tâche
array   $context:  (ou string) $context le context courant pour l'étape

API Tags:
Return:  l'identifiant inséré (si c'est le cas)


[ Top ]


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