[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/etemplate/inc/ -> class.xul_io.inc.php (sommaire)

(pas de description)

Poids: 728 lignes (21 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 etemplate/inc/class.xmltool.inc.php

Définit 1 class

xul_io:: (7 méthodes):
  xul_io()
  set_attributes()
  add_widget()
  add_grid()
  add_etempl()
  export()
  import()


Classe: xul_io  - X-Ref

XUL/XML Import & Export for eTemplates

used only internaly

xul_io()   X-Ref
Pas de description

set_attributes(&$widget,$attr,$val)   X-Ref
sets an attribute in the xml object representing a widget

param: object &$widget widget to set the attribute in
param: string $attr comma delimited attr = default-value pairs, eg. "type=int,min=0"
param: array $val array with values to set

add_widget(&$parent,$cell,&$embeded_too)   X-Ref
add a widget to a parent

param: object &$parent parten to add the widget
param: array $cell widget to add
param: array &$embeded_too already embeded eTemplates
return: object reference (!) the the xml object representing the widget, so other children can be added

add_grid(&$parent,$grid,&$embeded_too)   X-Ref
add a grid to $parent (xml object)

param: object &$parent where to add the grid
param: array $grid grid to add
param: array &embeded_too array with already embeded eTemplates

add_etempl(&$etempl,&$embeded_too)   X-Ref
add / embed an eTemplate into the global $xul_overlay object (used by export)

param: object &$etempl eTemplate to embed
param: array &embeded_too array with already embeded templates

export($etempl)   X-Ref
create an XML representation of an eTemplate

param: object $etempl eTemplate object to export
return: string the XML

import(&$etempl,$data)   X-Ref
create an eTemplate from it's XML representation

param: object &$etempl eTemplate object to set
param: string $data the XML
param: array/string array with names of imported templates or error-message



Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7