示例#1
0
 function __construct($dbconn, $id = null)
 {
     parent::__construct($dbconn);
     $this->dbdata_class = get_class($this);
     $this->dbdata_fields = array('id', 'user_id', 'title', 'description', 'newick', 'creation_date', 'update_date');
     $this->dbdata_required = array('newick');
     $this->dbdata_table = "trees";
     $this->id = $id;
 }
示例#2
0
 function __construct($dbconn, $id = null)
 {
     parent::__construct($dbconn);
     $this->dbdata_class = get_class($this);
     $this->dbdata_fields = array('id', 'user_id', 'tree_id', 'node', 'parameter', 'value', 'creation_date', 'update_date');
     $this->dbdata_required = array('newick');
     $this->dbdata_table = "tree_parameters";
     $this->id = $id;
 }
示例#3
0
 function __construct($dbconn, $id = null)
 {
     parent::__construct($dbconn);
     $this->dbdata_class = get_class($this);
     $this->dbdata_fields = array('id', 'name', 'password', 'creation_date', 'email');
     $this->dbdata_required = array('email', 'password');
     $this->dbdata_table = "users";
     $this->id = $id;
 }
示例#4
0
 function __construct($dbconn, $system_id = null)
 {
     parent::__construct($dbconn);
 }