function __construct($record_set, $class_path, $conn = null, $lazy_attributes = null, $use_proxy = false)
 {
     $this->class_path = $class_path;
     $this->conn = $conn;
     $this->lazy_attributes = $lazy_attributes;
     $this->use_proxy = $use_proxy;
     parent::__construct($record_set);
 }
 function __construct($record_set, $base_object, $conn = null, $attach_relations = array(), $prefix = "")
 {
     $this->base_object = $base_object;
     $this->conn = $conn;
     if (is_string($attach_relations)) {
         $attach_relations = array($attach_relations => array());
     }
     $this->attach_relations = $attach_relations;
     $this->prefix = $prefix;
     parent::__construct($record_set);
 }