Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace IPS\downloads\File;
- /**
- * File Review Model
- */
- class _Review extends \IPS\Content\Review implements \IPS\Content\EditHistory, \IPS\Content\ReportCenter, \IPS\Content\Hideable, \IPS\Content\Reputation
- {
- /**
- * @brief [ActiveRecord] Multiton Store
- */
- protected static $multitons;
- /**
- * @brief Default Values
- */
- protected static $defaultValues = NULL;
- /**
- * @brief [Content\Comment] Item Class
- */
- public static $itemClass = 'IPS\downloads\File';
- /**
- * @brief [ActiveRecord] Database Table
- */
- public static $databaseTable = 'downloads_reviews';
- /**
- * @brief [ActiveRecord] Database Prefix
- */
- public static $databasePrefix = 'review_';
- /**
- * @brief Database Column Map
- */
- public static $databaseColumnMap = array(
- 'item' => 'fid',
- 'author' => 'mid',
- 'author_name' => 'author_name',
- 'content' => 'text',
- 'date' => 'date',
- 'ip_address' => 'ip',
- 'edit_time' => 'edit_time',
- 'edit_member_name' => 'edit_name',
- 'edit_show' => 'append_edit',
- 'rating' => 'rating',
- 'votes_total' => 'votes',
- 'votes_helpful' => 'votes_helpful',
- 'votes_data' => 'votes_data',
- 'approved' => 'approved',
- );
- /**
- * @brief Application
- */
- public static $application = 'downloads';
- /**
- * @brief Title
- */
- public static $title = 'downloads_file_review';
- /**
- * @brief Icon
- */
- public static $icon = 'download';
- /**
- * @brief Reputation Type
- */
- public static $reputationType = 'review_id';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement