Stud.IP
6.0
|
Public Member Functions | |
getPluginActivityTables () | |
getPluginActivityTables | ( | ) |
Returns null or an array of associated arrays - each one to indicate a db-table in which the plugin stores user activities.
For a bullitin-board-plugin this array could look like this:
return array( array( 'table' => "bullitin_board_entries", 'user_id_column' => "user_id", 'date_column' => "mkdate", 'where' => "public = '1'" //only public entries should be counted ) );