[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
[Code source] [Imprimer] [Statistiques]
This file implements the ItemQuery class. This file is part of the evoCore framework - {@link http://evocore.net/} See also {@link http://sourceforge.net/projects/evocms/}.
Author: | fplanque: Francois PLANQUE. |
Copyright: | (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/} |
Version: | $Id: _itemquery.class.php,v 1.2 2007/07/01 03:58:08 fplanque Exp $ |
Poids: | 704 lignes (20 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
ItemQuery:: (14 méthodes):
ItemQuery()
where_ID()
where_chapter()
where_chapter2()
where_visibility()
where_tags()
where_author()
where_assignees()
where_author_assignee()
where_locale()
where_statuses()
where_types()
where_datestart()
where_keywords()
ItemQuery( $dbtablename, $dbprefix = '', $dbIDname ) X-Ref |
Constructor. param: string Name of table in database param: string Prefix of fields in the table param: string Name of the ID field (including prefix) |
where_ID( $p = '', $title = '' ) X-Ref |
Restrict to a specific post |
where_chapter( $blog, $cat = '', $catsel = array() X-Ref |
Restrict to specific collection/chapters (blog/categories) param: integer param: string List of cats to restrict to param: array Array of cats to restrict to |
where_chapter2( & $Blog, $cat_array, $cat_modifier, $cat_focus = 'wide' ) X-Ref |
Restrict to specific collection/chapters (blog/categories) param: Blog param: array param: string param: string 'wide' to search in extra cats too, 'main' for main cat only |
where_visibility( $show_statuses ) X-Ref |
Restrict to the visibility/sharing statuses we want to show param: array Restrict to these statuses |
where_tags( $tags ) X-Ref |
Restrict to specific tags param: string List of tags to restrict to |
where_author( $author ) X-Ref |
Restrict to specific authors param: string List of authors to restrict to (must have been previously validated) |
where_assignees( $assignees ) X-Ref |
Restrict to specific assignees param: string List of assignees to restrict to (must have been previously validated) |
where_author_assignee( $author_assignee ) X-Ref |
Restrict to specific assignee or author param: integer assignee or author to restrict to (must have been previously validated) |
where_locale( $locale ) X-Ref |
Restrict to specific locale param: string locale to restrict to ('all' if you don't want to restrict) |
where_statuses( $statuses ) X-Ref |
Restrict to specific (exetnded) statuses param: string List of assignees to restrict to (must have been previously validated) |
where_types( $types ) X-Ref |
Restrict to specific item types param: string List of types to restrict to (must have been previously validated) |
where_datestart( $m = '', $w = '', $dstart = '', $dstop = '', $timestamp_min = '', $timestamp_max = 'now' ) X-Ref |
Restricts to a specific date range. (despite thje 'start' in the name Priorities: -dstart and/or dstop -week + m -m param: string YYYYMMDDHHMMSS (everything after YYYY is optional) or '' param: integer week number or '' param: string YYYYMMDDHHMMSS to start at, '' for first available param: string YYYYMMDDHHMMSS to stop at param: mixed Do not show posts before this timestamp, can be 'now' param: mixed Do not show posts after this timestamp, can be 'now' |
where_keywords( $keywords, $phrase, $exact ) X-Ref |
Restrict with keywords param: string Keyword search string param: mixed Search for entire phrase or for individual words param: mixed Require exact match of title or contents |
Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |