| [ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 1519 lignes (49 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
editor:: (19 méthodes):
editor()
export_xml()
import_xml()
list_result()
edit()
edit_widget()
change_widget_type()
path_components()
parent_navigation()
edit_actions()
box_actions()
row_actions()
column_actions()
fix_set_onclick()
fix_set_onchange()
widget()
styles()
scan_for_extensions()
swap()
| editor() X-Ref |
| Pas de description |
| export_xml(&$xml,&$xml_label) X-Ref |
| Pas de description |
| import_xml($file,&$xml) X-Ref |
| Pas de description |
| list_result($cont='',$msg='') X-Ref |
| Pas de description |
| edit($content=null,$msg = '') X-Ref |
| new eTemplate editor, which edits widgets in a popup param: array $content content from the process_exec call param: string $msg message to show |
| edit_widget(path) X-Ref |
| Pas de description |
| change_widget_type(&$widget,$old) X-Ref |
| initialises the children arrays for the new widget type, converts boxes <--> grids param: array &$widget reference to the new widget data param: array $old the old widget data |
| path_components($path) X-Ref |
| returns array with path => type pairs for each parent of $path param: string $path path to the widget not the parent! return: array |
| parent_navigation($parent,$parent_path,$child_id,$widget) X-Ref |
| returns array with path => type pairs for each parent of $path param: array $parent the parent param: string $child_id id of child param: string $parent_path path of the parent return: array with keys left, right, up and down and their pathes set (if applicable) |
| edit_actions(&$action,&$parent,&$content,$child_id) X-Ref |
| functions of the edit-menu: paste, swap, cut, delete, copy param: string &$action row_delete, row_insert_above, row_insert_below, row_swap, row_prefs param: array &$parent referece to the parent param: array &$content reference to the content-array param: string $child_id id of a cell return: string msg to display |
| box_actions(&$action,&$parent,&$content,&$child_id,$parent_path) X-Ref |
| functions of the box-menu: insert-before, -behind und swap param: string &$action row_delete, row_insert_above, row_insert_below, row_swap, row_prefs param: array &$parent referece to the parent param: array &$content reference to the content-array param: string &$child_id id of a cell, may change to the next cell if inserting behind param: string $parent_path path of parent return: string msg to display |
| row_actions(&$action,&$grid,$child_id) X-Ref |
| functions of the row-menu: insert, deleting & swaping of rows param: string &$action row_delete, row_insert_above, row_insert_below, row_swap_next, row_prefs param: array &$grid grid param: string $child_id id of a cell return: string msg to display |
| column_actions(&$action,&$grid,$child_id) X-Ref |
| functions of the column-menu: insert, deleting & swaping of columns param: string &$action column_delete, column_insert_before, column_insert_behind, column_swap_next, column_prefs param: array &$grid grid param: string $child_id id of a cell return: string msg to display |
| fix_set_onclick(&$widget,&$cell_content,$widget2content=true) X-Ref |
| converts onclick selectbox and onclick text to one javascript call param: array &$widget reference into the widget-tree param: array &$cell_content cell array in content param: boolean $widget2content=true copy from widget to content or other direction |
| fix_set_onchange(&$widget,&$cell_content,$widget2content=true) X-Ref |
| converts onchange selectbox and onchange text to one javascript call param: array &$widget reference into the widget-tree param: array &$cell_content cell array in content param: boolean $widget2content=true copy from widget to content or other direction |
| widget($content=null,$msg='') X-Ref |
| edit dialog for a widget param: array $content the submitted content of the etemplate::exec function, default null param: string $msg msg to display, default '' |
| styles($content=null,$msg='') X-Ref |
| edit dialog for the styles of a templat or app param: array $content the submitted content of the etemplate::exec function, default null param: string $msg msg to display, default '' |
| scan_for_extensions($app='etemplate') X-Ref |
| search the inc-dirs of etemplate and the app whichs template is edited for extensions / custom widgets extensions are class-files in $app/inc/class.${name}_widget.inc.php the extensions found will be saved in a class-var and in the session param: string $app='etemplate' app to scan return: string comma delimited list of new found extensions |
| swap(&$a,&$b) X-Ref |
| swap the values of $a and $b param: mixed &$a param: mixed &$b |
| Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |