41 var
$fields = array(
"download_id" => Number,
42 "document_id" => Number,
43 "download_date" => Timestamp,
60 if (!$this->
user_id)
return null;
67 $this->primary_key =
"download_id";
68 $this->table =
"document_download";
70 $this->DataItem(func_get_args());
79 var
$fields = array(
"document_id" => Number,
80 "document_library_id" => Number,
81 "download_date" => Date,
82 "download_count" => Number);
95 $this->table =
"document_download_daily_stats";
97 $this->DataItem(func_get_args());
106 "document_library_id" => Number,
107 "download_count" => Number);
120 $this->table =
"document_download_total_stats";
122 $this->DataItem(func_get_args());
DocumentDownloadDailyStats()
DocumentDownloadTotalStats()
This class maps the publication table.
This class maps the topic table.
Provides the interface to the user model for the application.