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.

return an XML DomDocument object (Previous) set encoding charset (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.