From e62c95b6a16dd0ae5aec24c1a96b8b608b040fc2 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 11 Sep 2010 01:51:14 +0000 Subject: [PATCH] Fix bug for creating view object --- dev/manage-code/create-file/create_phpclass.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev/manage-code/create-file/create_phpclass.py b/dev/manage-code/create-file/create_phpclass.py index 13b141d3b..4e482c866 100755 --- a/dev/manage-code/create-file/create_phpclass.py +++ b/dev/manage-code/create-file/create_phpclass.py @@ -376,10 +376,14 @@ require_once('ac_common.php'); /** *@brief Manage the view @table@ */ -class @class_name@ +class @class_name@ +{ /* example private $variable=array("easy_name"=>column_name,"email"=>"column_name_email","val3"=>0); */ protected $variable=array(@column_array@); + function __construct ($p_cn) { + $this->cn=$p_cn; + } /**