function _loadFromArgs(&$array)
 {
     global $_CONF;
     $this->_url = COM_applyFilter(trim($array['url']));
     $this->_postmode = COM_applyFilter($array['postmode']);
     $this->_version = COM_applyFilter($array['version']);
     $this->_commentcode = COM_applyFilter($array['commentcode'], true);
     $this->_is_released = COM_applyFilter($array['is_released'], true);
     $this->_is_listing = COM_applyFilter($array['is_listing'], true);
     $this->_year = COM_applyFilter($array['release_year'], true);
     $this->_month = COM_applyFilter($array['release_month'], true);
     $this->_day = COM_applyFilter($array['release_day'], true);
     $this->_hour = COM_applyFilter($array['release_hour'], true);
     $this->_minute = COM_applyFilter($array['release_minute'], true);
     $this->_second = COM_applyFilter($array['release_second'], true);
     $this->_owner_id = COM_applyFilter($array['owner_id'], true);
     $this->_cid = COM_applyFilter(trim($array['cid']));
     $this->_lid = COM_applyFilter(trim($array['lid']));
     $this->_old_lid = COM_applyFilter(trim($array['old_lid']));
     $this->_title = COM_checkHTML(COM_checkWords(trim($array['title'])));
     $this->_project = COM_checkHTML(COM_checkWords(trim($array['project'])));
     $this->_homepage = strip_tags($array['homepage']);
     $this->_size = intval(COM_applyFilter($array['size'], true));
     $this->_md5 = COM_applyFilter($array['md5']);
     $this->_logourl = COM_applyFilter(trim($array['logourl']));
     $this->_mg_autotag = COM_applyFilter(trim($array['mg_autotag']));
     $this->_tags = COM_applyFilter($this->_modifyTags($array['tags']));
     $this->_old_date = intval(COM_applyFilter($array['old_date'], true));
     if (version_compare(VERSION, '2.1.0') >= 0) {
         // Now not do anything here to hold the raw text.
         // And do all of the text processing just before display.
         $this->_description = $array['text_description'];
         $this->_detail = $array['text_detail'];
     } else {
         require_once $_CONF['path'] . 'plugins/downloads/include/gltext.class.php';
         $gltext = new GLPText();
         $this->_description = $gltext->loadTextFromArgs($array['text_description'], $this->_postmode);
         $this->_detail = $gltext->loadTextFromArgs($array['text_detail'], $this->_postmode);
     }
     $this->_date = mktime($this->_hour, $this->_minute, $this->_second, $this->_month, $this->_day, $this->_year);
     $this->_createddate = date('Y-m-d H:i:s', $this->_date);
     $this->_is_listing = $this->_is_released == 0 ? 0 : $this->_is_listing;
     $this->_deletesnap = $array['deletesnap'] == 'on' ? 1 : 0;
     $this->_editor_mode = COM_applyFilter($array['editor_mode']);
     if ($this->_editor_mode == 'submit') {
         $this->_retry = true;
     }
     if (!empty($array['page'])) {
         $this->_page = COM_applyFilter($array['page']);
     }
     if (!empty($array['listing_cid'])) {
         $this->_listing_cid = COM_applyFilter($array['listing_cid']);
     }
 }