21,7 → 21,7 |
// | along with Foobar; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: pap_application.fonct.php,v 1.2 2005-02-28 11:12:03 jpm Exp $ |
// CVS : $Id: pap_application.fonct.php,v 1.3 2006-04-28 12:41:49 florian Exp $ |
/** |
* Biblibothèque de fonction sur les applications. |
* |
34,7 → 34,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.2 $ $Date: 2005-02-28 11:12:03 $ |
*@version $Revision: 1.3 $ $Date: 2006-04-28 12:41:49 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
122,6 → 122,7 |
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : ''; |
|
$chemin_appli = $ligne_appli->gap_chemin; |
$morceaux=''; |
preg_match('/([\w_]+).php$/', $chemin_appli, $morceaux); |
$nom_interface_admin = ucfirst($morceaux[1]).'_Admin'; |
return $nom_interface_admin; |
145,6 → 146,7 |
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : ''; |
|
$chemin_appli = $ligne_appli->gap_chemin; |
$morceaux=''; |
preg_match('/([\w_]+).php$/', $chemin_appli, $morceaux); |
preg_replace('/_(\w)/', '_'.ucfirst(${1}),$morceaux[1]); |
$nom_classe_appli = $morceaux[1]; |
203,6 → 205,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.2 2005/02/28 11:12:03 jpm |
* Modification des auteurs. |
* |
* Revision 1.1 2004/11/09 17:54:50 jpm |
* Ajout de fonction permettant de manipuler les informations liées aux applications. |
* |