[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/includes/ -> joomla.xml.php (sommaire)

(pas de description)

Copyright: Copyright (C) 2005 Open Source Matters. All rights reserved.
License: http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
Version: $Id: joomla.xml.php 5083 2006-09-17 11:18:25Z predator $
Poids: 532 lignes (16 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 1 fichier
 includes/domit/xml_domit_lite_include.php

Définit 2 classes

mosParameters:: (21 méthodes):
  mosParameters()
  toObject()
  toArray()
  set()
  def()
  get()
  parse()
  render()
  renderParam()
  _form_text()
  _form_list()
  _form_radio()
  _form_mos_section()
  _form_mos_category()
  _form_mos_menu()
  _form_filelist()
  _form_imagelist()
  _form_textarea()
  _form_spacer()
  textareaHandling()
  mosParseParams()

mosEmpty:: (2 méthodes):
  def()
  get()


Classe: mosParameters  - X-Ref

Parameters handler

mosParameters( $text, $path='', $type='component' )   X-Ref
Constructor

param: string The raw parms text
param: string Path to the xml setup file

toObject()   X-Ref
Returns the params array

return: object

toArray()   X-Ref
Returns a named array of the parameters

return: object

set( $key, $value='' )   X-Ref

param: string The name of the param
param: string The value of the parameter
return: string The set value

def( $key, $value='' )   X-Ref
Sets a default value if not alreay assigned

param: string The name of the param
param: string The value of the parameter
return: string The set value

get( $key, $default='' )   X-Ref

param: string The name of the param
param: mixed The default value if not found
return: string

parse( $txt, $process_sections = false, $asArray = false )   X-Ref
Parse an .ini string, based on phpDocumentor phpDocumentor_parse_ini_file function

param: mixed The ini string or array of lines
param: boolean add an associative index for each section [in brackets]
return: object

render( $name='params' )   X-Ref

param: string The name of the control, or the default text area if a setup file is not found
return: string HTML

renderParam( &$param, $control_name='params' )   X-Ref

param: object A param tag node
param: string The control name
return: array Any array of the label, the form element and the tooltip

_form_text( $name, $value, &$node, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

_form_list( $name, $value, &$node, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

_form_radio( $name, $value, &$node, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

_form_mos_section( $name, $value, &$node, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

_form_mos_category( $name, $value, &$node, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

_form_mos_menu( $name, $value, &$node, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

_form_filelist( $name, $value, &$node, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

_form_imagelist( $name, $value, &$node, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

_form_textarea( $name, $value, &$node, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

_form_spacer( $name, $value, &$node, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

textareaHandling( &$txt )   X-Ref
special handling for textarea param


mosParseParams( $txt )   X-Ref

param: string
return: string

Classe: mosEmpty  - X-Ref

def( $key, $value='' )   X-Ref
Pas de description

get( $key, $default='' )   X-Ref
Pas de description



Généré le : Wed Nov 21 14:43:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics