Function __global->find_page_stats_for
Definitions
sources/lookup.php
- Get a results table showing info about the member's travels around the site.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $member_id | MEMBER | No | No | required parameter | N/A | N/A | The member we are getting travel stats for |
| $ip | IP | No | No | required parameter | N/A | N/A | The IP address of the member |
| $start | integer | No | No | 0 | N/A | N/A | The current position in the browser |
| $max | integer | No | No | 50 | N/A | N/A | The maximum number of rows to show per browser page |
| $sortable | ?ID_TEXT | No | No | date_and_time | N/A | N/A | The current sortable (null: none) |
| $sort_order | ?ID_TEXT | No | No | DESC | ASC DESC | N/A | The order we are sorting in (null: none) |
Returns
- The results table
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a results table showing info about the member's travels around the site.
*
* @param MEMBER $member_id The member we are getting travel stats for
* @param IP $ip The IP address of the member
* @param integer $start The current position in the browser
* @param integer $max The maximum number of rows to show per browser page
* @param ?ID_TEXT $sortable The current sortable (null: none)
* @param ?ID_TEXT $sort_order The order we are sorting in (null: none)
* @set ASC DESC
* @return Tempcode The results table
*/
function find_page_stats_for(int $member_id, string $ip, int $start = 0, int $max = 50, ?string $sortable = 'date_and_time', ?string $sort_order = 'DESC') : object
* Get a results table showing info about the member's travels around the site.
*
* @param MEMBER $member_id The member we are getting travel stats for
* @param IP $ip The IP address of the member
* @param integer $start The current position in the browser
* @param integer $max The maximum number of rows to show per browser page
* @param ?ID_TEXT $sortable The current sortable (null: none)
* @param ?ID_TEXT $sort_order The order we are sorting in (null: none)
* @set ASC DESC
* @return Tempcode The results table
*/
function find_page_stats_for(int $member_id, string $ip, int $start = 0, int $max = 50, ?string $sortable = 'date_and_time', ?string $sort_order = 'DESC') : object

