function __construct(&$oConfig) { parent::__construct($oConfig); $this->aFileFields['medViews'] = 'Listens'; $this->sFileTable = 'RayMp3Files'; $this->sFavoriteTable = 'bx_sounds_favorites'; }
function __construct(&$oConfig) { parent::__construct($oConfig); $this->aFileFields['medExt'] = 'Video'; $this->aFileFields['medSource'] = 'Source'; $this->sFileTable = 'RayVideoFiles'; $this->sFavoriteTable = 'bx_videos_favorites'; }
function __construct(&$oConfig) { parent::__construct($oConfig); $this->sFileTable = 'bx_photos_main'; $this->sFavoriteTable = 'bx_photos_favorites'; $this->aFileFields['medDesc'] = 'Desc'; $this->aFileFields['medExt'] = 'Ext'; $this->aFileFields['medSize'] = 'Size'; $this->aFileFields['Hash'] = 'Hash'; }
function __construct(&$oConfig) { parent::__construct($oConfig); $this->sFileTable = 'bx_files_main'; $this->sFavoriteTable = 'bx_files_favorites'; $this->sMimeTypeTable = 'bx_files_types'; $aAddFields = array('medExt' => 'Ext', 'medDesc' => 'Desc', 'medSize' => 'Size', 'Type' => 'Type', 'DownloadsCount' => 'DownloadsCount', 'AllowDownload' => 'AllowDownload'); $this->aFileFields = array_merge($this->aFileFields, $aAddFields); $this->aFavoriteFields = array('fileId' => 'ID', 'ownerId' => 'Profile', 'favDate' => 'Date'); }