示例#1
0
 /** Constructor
  * 
  * @param string $str_Entity
  * @param string $str_Module = NULL
  */
 public function __construct($str_Entity, $str_Module = NULL)
 {
     $this->options = new Options();
     $this->dbHandler = db_autodefine($this->options);
     $this->logTableName = $this->options->get('log_table');
     $this->logLevel = $this->options->get('default_log_level');
     $this->entity = $str_Entity;
     $this->module = $str_Module;
 }
示例#2
0
 /** Constructor
  * 
  * @param string $str_SessionID
  */
 public function __construct($str_SessionID)
 {
     // Sets inner class' data
     $this->sessionID = $str_SessionID;
     $this->options = new Options();
     $this->dbHandler = db_autodefine($this->options);
     // Sets remaining fields
     $this->getCurrentCustomer();
     $this->getEntityInfo();
     $this->getAvailableFields();
     $this->getEnabledFields();
 }
示例#3
0
 /** Constructor
  * 
  * @param string $str_Host
  */
 public function __construct($str_Host = NULL)
 {
     $this->hostName = $str_Host;
     $this->options = new Options();
     $this->dbHandler = db_autodefine($this->options);
 }