Line 18... |
Line 18... |
18 |
// | You should have received a copy of the GNU General Public |
|
18 |
// | You should have received a copy of the GNU General Public |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
Line 22... |
Line 22... |
22 |
|
22 |
|
Line 23... |
Line 23... |
23 |
// CVS : $Id: projetControleur.class.php,v 1.37 2007-06-25 12:15:06 alexandre_tb Exp $
|
23 |
// CVS : $Id: projetControleur.class.php,v 1.38 2007-10-10 13:57:16 alexandre_tb Exp $
|
24 |
|
24 |
|
25 |
/**
|
25 |
/**
|
26 |
* Application projet
|
26 |
* Application projet
|
Line 31... |
Line 31... |
31 |
//Auteur original :
|
31 |
//Auteur original :
|
32 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
32 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
33 |
//Autres auteurs :
|
33 |
//Autres auteurs :
|
34 |
*@author Aucun
|
34 |
*@author Aucun
|
35 |
*@copyright Tela-Botanica 2000-2004
|
35 |
*@copyright Tela-Botanica 2000-2004
|
36 |
*@version $Revision: 1.37 $
|
36 |
*@version $Revision: 1.38 $
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
*/
|
38 |
*/
|
Line 39... |
Line 39... |
39 |
|
39 |
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
Line 207... |
Line 207... |
207 |
function run( )
|
207 |
function run( )
|
208 |
{
|
208 |
{
|
209 |
// On teste en premier la presence d un appel vers un service
|
209 |
// On teste en premier la presence d un appel vers un service
|
210 |
if ($this->_service != '') {
|
210 |
if ($this->_service != '') {
|
211 |
if (file_exists(PROJET_CHEMIN_APPLI.'services/'.$this->_service.'.php')) {
|
211 |
if (file_exists(PROJET_CHEMIN_APPLI.'services/'.$this->_service.'.php')) {
|
212 |
include_once PROJET_CHEMIN_APPLI.'services/'.$this->_service.'.php' ;
|
212 |
return include_once PROJET_CHEMIN_APPLI.'services/'.$this->_service.'.php' ;
|
213 |
}
|
213 |
}
|
214 |
}
|
214 |
}
|
Line 215... |
Line 215... |
215 |
|
215 |
|
216 |
if ($this->_action == '') {
|
216 |
if ($this->_action == '') {
|