From 3ec1aa3824557b55c4714514e5c74f6705d4e83a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 5 May 2010 07:00:11 +0000 Subject: [PATCH] Works on product canvas and templates --- htdocs/core/class/canvas.class.php | 49 ++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 htdocs/core/class/canvas.class.php diff --git a/htdocs/core/class/canvas.class.php b/htdocs/core/class/canvas.class.php new file mode 100644 index 00000000000..a47357737a2 --- /dev/null +++ b/htdocs/core/class/canvas.class.php @@ -0,0 +1,49 @@ + + * + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +/** + * \file htdocs/core/class/canvas.class.php + * \ingroup core + * \brief Fichier de la classe de gestion des canvas + * \version $Id$ + */ + + +/** + * \class Canvas + * \brief Classe de la gestion des canvas + */ + +class Canvas +{ + var $template_dir; // Directory with all core and external templates files + var $errors = array(); // Array for errors + + /** + * \brief Constructor. + * \param DB Database handler + */ + function Canvas($DB) + { + $this->db = $DB ; + } + + + +} +?>