[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
[Code source] [Imprimer] [Statistiques]
This file implements the BlogCache class. This file is part of the evoCore framework - {@link http://evocore.net/} See also {@link http://sourceforge.net/projects/evocms/}.
Author: | blueyed: Daniel HAHLER. |
Author: | fplanque: Francois PLANQUE |
Copyright: | (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/} |
Version: | $Id: _blogcache.class.php,v 1.1 2007/06/25 10:59:32 fplanque Exp $ |
Poids: | 404 lignes (12 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
BlogCache:: (6 méthodes):
BlogCache()
add()
load_public()
load_owner_blogs()
load_user_blogs()
get_option_list()
BlogCache() X-Ref |
Constructor |
add( & $Blog ) X-Ref |
Add object to cache, handling our own indices. param: Blog return: boolean True on add, false if already existing. |
load_public( $order_by = 'ID' ) X-Ref |
Pas de description |
load_owner_blogs( $owner_ID, $order_by = 'ID' ) X-Ref |
Load a list of blogs owner by specific ID into the cache param: integer param: string return: array of IDs |
load_user_blogs( $permname = 'blog_ismember', $permlevel = 'view', $user_ID = NULL, $order_by = 'ID', $limit = NULL ) X-Ref |
Load blogs a user has permissions for. param: string permission: 'member' (default), 'browse' (files) param: string param: integer user ID return: array The blog IDs |
get_option_list( $default = 0, $allow_none = false, $method = 'get_name' ) X-Ref |
Returns form option list with cache contents Loads the whole cache! param: integer selected ID param: boolean provide a choice for "none" with ID 0 |
Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |