/**
  * @param ATTACHMENT_HOST $host
  */
 public function __construct($host)
 {
     $this->_host = $host;
     $folder = $host->parent_folder();
     parent::__construct($folder);
 }
 /**
  * Set the parent object for this attachment.
  * Does not store to the database. Sets up both the host and the folder information
  * for this attachment; used during object setup when retrieved from database.
  * @param ATTACHMENT_HOST $host
  */
 public function set_host($host)
 {
     $this->set_parent_folder($host->parent_folder());
     $this->_host = $host;
     $this->object_id = $host->id;
 }