previousXML_sql2xml::getXMLObject (Previous) (Next) XML_sql2xml::setEncodingnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

XML_sql2xml::setOptions

XML_sql2xml::setOptions – set options for the instance

Synopsis

require_once "XML/sql2xml.php";

void XML_sql2xml::setOptions ( array $options , constant $delete = false )

Description

This method sets the options for the class instance.

Parameter

  • array $options - array of options. The array key defines the option to set. Avaible options are:

    • boolean $options['nested'] - if TRUE the result of an join query will be nested. The default value is FALSE.

    • boolean $options['tagNameRow'] - name for the row mark up tag. Default is >row<

    • boolean $options['tagNameResult'] - name for the result-set mark up tag. Default is >result<

  • constant $delete - the old sub options should be deleted

Note

This function can not be called statically.

previousXML_sql2xml::getXMLObject (Previous) (Next) XML_sql2xml::setEncodingnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.