Class: ArchiveList
Source Location: /blogs/plugins/_archives.plugin.php
Class ArchiveList
Class Overview
|
Archive List Class Located in /blogs/plugins/_archives.plugin.php [line 284] Widget | --Results | --ArchiveList |
[ Top ]
Inherited Properties, Constants, and Methods
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From Results
Inherited From Widget |
Inherited From Results
Inherited From Widget
|
[ Top ]
Property Summary
Method Summary
| ArchiveList | ArchiveList() | Constructor |
| void | count_total_rows() | Count the number of rows of the SQL result |
| void | get_item() | Getting next item in archive list |
| void | restart() | Rewind resultset |
[ Top ]
Methods
Constructor ArchiveList [line 305]
|
Constructor
Note: Weekly archives use MySQL's week numbering and MySQL default if applicable. In MySQL < 4.0.14, WEEK() always uses mode 0: Week starts on Sunday; Value range is 0 to 53; week 1 is the first week that starts in this year.
Parameters:| string | $archive_mode: | |
| integer | $limit: | |
| boolean | $preserve_context: | |
| $dbtable: | ||
| $dbprefix: | ||
| $dbIDname: |
Information Tags:
| Link: | http://dev.mysql.com/doc/mysql/en/date-and-time-functions.html |
| Todo: | categories combined with 'ALL' are not supported (will output too many archives, some of which will resolve to no results). We need subqueries to support this efficiently. |
[ Top ]
count_total_rows [line 442]
|
Count the number of rows of the SQL result
These queries are complex enough for us not to have to rewrite them:
Redefinition of:
- Results::count_total_rows()
- Count the total number of rows of the SQL result (all pages)
[ Top ]
get_item [line 505]
|
Getting next item in archive list
WARNING: these are *NOT* Item objects!
Parameters:| &$arc_year: | ||
| &$arc_month: | ||
| &$arc_dayofmonth: | ||
| &$arc_w: | ||
| &$arc_count: | ||
| &$post_ID: | ||
| &$post_title: |
[ Top ]
restart [line 491]
|
Rewind resultset
Redefinition of:
- Results::restart()
- Rewind resultset
[ Top ]
