[ Index ] |
|
Code source de b2evolution 2.1.0-beta |
[Code source] [Imprimer] [Statistiques]
This file implements the Widget 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: _widget.class.php,v 1.9 2007/11/04 01:10:57 fplanque Exp $ |
Poids: | 799 lignes (20 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
ComponentWidget:: (14 méthodes):
ComponentWidget()
get_name()
get_desc()
get_param_definitions()
load_param_array()
get_param()
set()
init_display()
display()
disp_title()
disp_item_list()
disp_cat_item_list()
disp_coll_list()
dbinsert()
Classe: ComponentWidget - X-Ref
ComponentWidget ClassComponentWidget( $db_row = NULL, $type = 'core', $code = NULL ) X-Ref |
Constructor param: object data row from db |
get_name() X-Ref |
Pas de description |
get_desc() X-Ref |
Get desc of widget Should be overriden by core widgets |
get_param_definitions( $params ) X-Ref |
Get definitions for editable params param: local params like 'for_editing' => true |
load_param_array() X-Ref |
Load param array |
get_param( $parname ) X-Ref |
param value |
set( $parname, $parvalue ) X-Ref |
Set param value param: string parameter name param: mixed parameter value return: boolean true, if a value has been set; false if it has not changed |
init_display( $params ) X-Ref |
Prepare display params |
display( $params ) X-Ref |
Display the widget! Should be overriden by core widgets param: array MUST contain at least the basic display params |
disp_title( $title = NULL ) X-Ref |
Note: a container can prevent display of titles with 'block_display_title' This is useful for the lists in the headers fp> I'm not sur if this param should be overridable by widgets themselves (priority problem) Maybe an "auto" setting. |
disp_item_list( $what ) X-Ref |
List of items param: array MUST contain at least the basic display params param: string 'pages' or 'posts' |
disp_cat_item_list( $link_type = 'linkto_url' ) X-Ref |
List of items by category param: array MUST contain at least the basic display params |
disp_coll_list( $filter = 'public' ) X-Ref |
List of collections/blogs param: array MUST contain at least the basic display params |
dbinsert() X-Ref |
Insert object into DB based on previously recorded changes. return: boolean true on success |
Généré le : Thu Nov 29 23:58:50 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |