Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->pid = 0;
     $this->uid = 0;
     $this->uptime = time();
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     // Needs to be here
     $this->load->database();
     date_default_timezone_set('UTC');
 }
Ejemplo n.º 3
0
 function __construct($projectid = null)
 {
     parent::__construct();
     $projectid = $projectid ? $projectid : JFactory::getApplication()->input->getInt('p', 0);
     if ($projectid) {
         $this->setProjectId($projectid);
     }
 }
Ejemplo n.º 4
0
 function __construct($projectid = null)
 {
     parent::__construct();
     $projectid = $projectid ? $projectid : JRequest::getInt('p');
     if ($projectid) {
         $this->setProjectId($projectid);
     }
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     $this->pid = 0;
     $this->uid = 0;
     $this->addtime = time();
     $this->received = false;
     $this->status = 0;
 }
Ejemplo n.º 6
0
 /**
  * Constructor
  *
  * @param   array  $config  An array of configuration options (name, state, dbo, table_path, ignore_request).
  */
 public function __construct($config = array())
 {
     parent::__construct();
     $this->setProjectId(JFactory::getApplication()->input->getInt('p', 0));
 }
Ejemplo n.º 7
0
 /**
  * constructor for the class
  */
 public function __construct($rewriting = false)
 {
     //we define this simple information => the table's name
     $this->tableName = "Projet";
     parent::__construct($rewriting);
     $this->arrayFields["projet_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "auto_increment", "formLabel" => "projet_id");
     $this->arrayFields["projet_title"] = array("type" => "varchar(255)", "canBeNull" => "YES", "key" => "", "default" => "", "extra" => "", "formLabel" => "projet_title");
     $this->arrayFields["projet_cover"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "projet_cover");
     $this->arrayFields["projet_is_on_instit"] = array("type" => "tinyint(1)", "canBeNull" => "YES", "key" => "", "default" => "0", "extra" => "", "formLabel" => "projet_is_on_instit");
     $this->arrayFields["projet_vignette_instit"] = array("type" => "varchar(45)", "canBeNull" => "YES", "key" => "", "default" => "", "extra" => "", "formLabel" => "projet_vignette_instit");
     //we define the xml datas with this function
     $this->defineXml();
 }
Ejemplo n.º 8
0
 /**
  * constructor for the class
  */
 public function __construct($rewriting = false)
 {
     //we define this simple information => the table's name
     $this->tableName = "Reference";
     parent::__construct($rewriting);
     $this->arrayFields["reference_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "auto_increment", "formLabel" => "reference_id");
     $this->arrayFields["reference_description"] = array("type" => "text", "canBeNull" => "YES", "key" => "", "default" => "", "extra" => "", "formLabel" => "reference_description");
     $this->arrayFields["reference_problematique"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "reference_problematique");
     $this->arrayFields["reference_action"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "reference_action");
     $this->arrayFields["reference_site"] = array("type" => "varchar(45)", "canBeNull" => "YES", "key" => "", "default" => "", "extra" => "", "formLabel" => "reference_site");
     $this->arrayFields["reference_video"] = array("type" => "varchar(255)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "reference_video");
     $this->arrayFields["reference_date"] = array("type" => "int(11)", "canBeNull" => "YES", "key" => "", "default" => "", "extra" => "", "formLabel" => "reference_date");
     $this->arrayFields["reference_active"] = array("type" => "int(11)", "canBeNull" => "YES", "key" => "", "default" => "", "extra" => "", "formLabel" => "reference_active");
     $this->arrayFields["reference_code"] = array("type" => "varchar(45)", "canBeNull" => "YES", "key" => "", "default" => "", "extra" => "", "formLabel" => "reference_code");
     $this->arrayFields["reference_mood"] = array("type" => "tinyint(1)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "reference_mood");
     $this->arrayFields["reference_ordre"] = array("type" => "int(11)", "canBeNull" => "YES", "key" => "", "default" => "", "extra" => "", "formLabel" => "reference_ordre");
     $this->arrayFields["Projet_projet_id"] = array("type" => "int(11)", "canBeNull" => "YES", "key" => "MUL", "default" => "", "extra" => "", "formLabel" => "Projet_projet_id");
     $this->arrayFields["TypeProduction_typeProduction_id"] = array("type" => "int(11)", "canBeNull" => "YES", "key" => "MUL", "default" => "", "extra" => "", "formLabel" => "TypeProduction_typeProduction_id");
     $this->arrayFields["TypeSupport_typeSupport_id"] = array("type" => "int(11)", "canBeNull" => "YES", "key" => "MUL", "default" => "", "extra" => "", "formLabel" => "TypeSupport_typeSupport_id");
     $this->arrayFields["Client_client_id"] = array("type" => "int(11)", "canBeNull" => "YES", "key" => "MUL", "default" => "", "extra" => "", "formLabel" => "Client_client_id");
     $this->arrayFields["SAGeneral_SAGeneral_id"] = array("type" => "int(11)", "canBeNull" => "YES", "key" => "MUL", "default" => "", "extra" => "", "formLabel" => "SAGeneral_SAGeneral_id");
     $this->arrayFields["SADetail_SADetail_id"] = array("type" => "int(11)", "canBeNull" => "YES", "key" => "MUL", "default" => "", "extra" => "", "formLabel" => "SADetail_SADetail_id");
     $this->arrayFields["ref_is_on_instit"] = array("type" => "tinyint(1)", "canBeNull" => "NO", "key" => "", "default" => "0", "extra" => "", "formLabel" => "ref_is_on_instit");
     $this->arrayFields["ref_vignette_instit"] = array("type" => "varchar(45)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "ref_vignette_instit");
     $this->arrayRelations["Client_client_id"] = array("assoc_table" => "Client", "assoc_col" => "client_id");
     $this->arrayRelations["Projet_projet_id"] = array("assoc_table" => "Projet", "assoc_col" => "projet_id");
     $this->arrayRelations["SADetail_SADetail_id"] = array("assoc_table" => "SADetail", "assoc_col" => "SADetail_id");
     $this->arrayRelations["SAGeneral_SAGeneral_id"] = array("assoc_table" => "SAGeneral", "assoc_col" => "SAGeneral_id");
     $this->arrayRelations["TypeProduction_typeProduction_id"] = array("assoc_table" => "TypeProduction", "assoc_col" => "typeProduction_id");
     $this->arrayRelations["TypeSupport_typeSupport_id"] = array("assoc_table" => "TypeSupport", "assoc_col" => "typeSupport_id");
     //we define the xml datas with this function
     $this->defineXml();
 }
Ejemplo n.º 9
0
 public function homeControl()
 {
     parent::__construct();
     $this->loadModel('champion');
     $this->tpl->assign('appName', 'championPage');
 }
Ejemplo n.º 10
0
 public function __construct()
 {
     parent::__construct(get_class());
     // Needs to be here
     $this->load->database();
 }
Ejemplo n.º 11
0
 /**
  * constructor for the class
  */
 public function __construct($rewriting = false)
 {
     //we define this simple information => the table's name
     $this->tableName = "immo_Actualites";
     parent::__construct($rewriting);
     $this->arrayFields["actualite_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "auto_increment", "formLabel" => "actualite_id");
     $this->arrayFields["actualite_title"] = array("type" => "varchar(255)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "actualite_title");
     $this->arrayFields["actualite_corps"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "actualite_corps");
     $this->arrayFields["actualite_img_path"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "actualite_img_path");
     $this->arrayFields["actualite_date"] = array("type" => "date", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "actualite_date");
     $this->arrayFields["actualite_source"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "actualite_source");
     $this->arrayFields["actualite_active"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "actualite_active");
     $this->arrayFields["actualite_ordre"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "actualite_ordre");
     //we define the xml datas with this function
     $this->defineXml();
 }
 /**
  * constructor for the class
  */
 public function __construct($rewriting = false)
 {
     //we define this simple information => the table's name
     $this->tableName = "mood_References_Accueil";
     parent::__construct($rewriting);
     $this->arrayFields["id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "auto_increment", "formLabel" => "id");
     $this->arrayFields["ref_1"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "ref_1");
     $this->arrayFields["ref_2"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "ref_2");
     $this->arrayFields["ref_3"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "ref_3");
     $this->arrayFields["ref_4"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "ref_4");
     $this->arrayFields["ref_5"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "ref_5");
     $this->arrayFields["ref_6"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "ref_6");
     $this->arrayFields["ref_7"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "ref_7");
     $this->arrayFields["ref_8"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "ref_8");
     $this->arrayFields["ref_9"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "ref_9");
     //we define the xml datas with this function
     $this->defineXml();
 }
Ejemplo n.º 13
0
 public function homeControl()
 {
     parent::__construct();
     $this->loadModel('home');
 }
Ejemplo n.º 14
0
 function __construct()
 {
     parent::__construct();
     $this->_id = JRequest::getInt('i');
 }
Ejemplo n.º 15
0
 public function __construct()
 {
     parent::__construct();
 }
Ejemplo n.º 16
0
 /**
  * constructor for the class
  */
 public function __construct($rewriting = false)
 {
     //we define this simple information => the table's name
     $this->tableName = "Medias";
     parent::__construct($rewriting);
     $this->arrayFields["media_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "auto_increment", "formLabel" => "media_id");
     $this->arrayFields["media_path"] = array("type" => "text", "canBeNull" => "YES", "key" => "", "default" => "", "extra" => "", "formLabel" => "media_path");
     $this->arrayFields["media_ordre"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "media_ordre");
     $this->arrayFields["media_active"] = array("type" => "int(11)", "canBeNull" => "YES", "key" => "", "default" => "", "extra" => "", "formLabel" => "media_active");
     $this->arrayFields["MediasTypes_type_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "", "formLabel" => "MediasTypes_type_id");
     $this->arrayFields["Projet_projet_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "", "formLabel" => "Projet_projet_id");
     $this->arrayFields["MediaDetails_mediaDetail_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "", "formLabel" => "MediaDetails_mediaDetail_id");
     $this->arrayRelations["MediaDetails_mediaDetail_id"] = array("assoc_table" => "MediaDetails", "assoc_col" => "mediaDetail_id");
     $this->arrayRelations["MediasTypes_type_id"] = array("assoc_table" => "MediasTypes", "assoc_col" => "type_id");
     $this->arrayRelations["Projet_projet_id"] = array("assoc_table" => "Reference", "assoc_col" => "reference_id");
     //we define the xml datas with this function
     $this->defineXml();
 }
Ejemplo n.º 17
0
 /**
  * constructor for the class
  */
 public function __construct($rewriting = false)
 {
     //we define this simple information => the table's name
     $this->tableName = "immo_Header";
     parent::__construct($rewriting);
     $this->arrayFields["header_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "auto_increment", "formLabel" => "header_id");
     $this->arrayFields["header_path"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "header_path");
     $this->arrayFields["header_active"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "header_active");
     $this->arrayFields["header_order"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "header_order");
     //we define the xml datas with this function
     $this->defineXml();
 }
Ejemplo n.º 18
0
 /**
  * constructor for the class
  */
 public function __construct($rewriting = false)
 {
     //we define this simple information => the table's name
     $this->tableName = "immo_Temoignages";
     parent::__construct($rewriting);
     $this->arrayFields["temoignage_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "auto_increment", "formLabel" => "temoignage_id");
     $this->arrayFields["temoignage_corp"] = array("type" => "text", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "temoignage_corp");
     $this->arrayFields["temoignage_auteur"] = array("type" => "varchar(255)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "temoignage_auteur");
     $this->arrayFields["temoignage_entreprise"] = array("type" => "varchar(255)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "temoignage_entreprise");
     $this->arrayFields["temoignage_date"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "temoignage_date");
     $this->arrayFields["temoignage_active"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "temoignage_active");
     //we define the xml datas with this function
     $this->defineXml();
 }
Ejemplo n.º 19
0
 /**
  * constructor for the class
  */
 public function __construct($rewriting = false)
 {
     //we define this simple information => the table's name
     $this->tableName = "immo_login";
     parent::__construct($rewriting);
     $this->arrayFields["login_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "auto_increment", "formLabel" => "login_id");
     $this->arrayFields["login_nom"] = array("type" => "varchar(250)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "login_nom");
     $this->arrayFields["login_prenom"] = array("type" => "varchar(250)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "login_prenom");
     $this->arrayFields["login_societe"] = array("type" => "varchar(250)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "login_societe");
     $this->arrayFields["login_fonction"] = array("type" => "varchar(250)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "login_fonction");
     $this->arrayFields["login_adresse"] = array("type" => "varchar(250)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "login_adresse");
     $this->arrayFields["login_date"] = array("type" => "varchar(250)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "login_date");
     $this->arrayFields["login_ip"] = array("type" => "varchar(250)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "login_ip");
     $this->arrayFields["login_active"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "", "default" => "", "extra" => "", "formLabel" => "login_active");
     //we define the xml datas with this function
     $this->defineXml();
 }
Ejemplo n.º 20
0
 /**
  * constructor for the class
  */
 public function __construct($rewriting = false)
 {
     //we define this simple information => the table's name
     $this->tableName = "MediasTypes";
     parent::__construct($rewriting);
     $this->arrayFields["type_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "auto_increment", "formLabel" => "type_id");
     $this->arrayFields["type_label"] = array("type" => "varchar(45)", "canBeNull" => "YES", "key" => "", "default" => "", "extra" => "", "formLabel" => "type_label");
     //we define the xml datas with this function
     $this->defineXml();
 }
Ejemplo n.º 21
0
 /**
  * constructor for the class
  */
 public function __construct($rewriting = false)
 {
     //we define this simple information => the table's name
     $this->tableName = "immo_RefIndex";
     parent::__construct($rewriting);
     $this->arrayFields["refIndex_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "PRI", "default" => "", "extra" => "auto_increment", "formLabel" => "refIndex_id");
     $this->arrayFields["Reference_reference_id"] = array("type" => "int(11)", "canBeNull" => "NO", "key" => "MUL", "default" => "", "extra" => "", "formLabel" => "Reference_reference_id");
     $this->arrayRelations["Reference_reference_id"] = array("assoc_table" => "Reference", "assoc_col" => "reference_id");
     //we define the xml datas with this function
     $this->defineXml();
 }