XML_sql2xml::setOptions

XML_sql2xml::setOptions

XML_sql2xml::setOptions -- set options for the instance

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.