Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • controllers
      • models
    • components
      • areyouahuman
      • auth
        • motp
        • oath
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • events
        • default
      • exchange
        • rates
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
          • quickbooks
            • invoice
      • json
      • modules
      • net
        • amazon
          • s3
        • http
        • net
          • geo
            • ip
      • plugins
      • recaptcha
      • reports
        • aging
          • invoices
        • custom
          • report
        • invoice
          • creation
        • tax
          • liability
        • transactions
          • applied
          • received
      • security
      • session
        • cart
      • settingscollection
      • upgrades
        • tasks
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
      • widget
        • client
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • form
      • html
      • javascript
      • xml
    • lib
  • None
  • PHP

Classes

  • Xml

Class Xml

Provides helper methods for creating XML documents from arrays and objects

Package: minPHP\helpers\xml
Located at helpers/xml/xml.php

Methods summary

public string
# xmlEntities( string $str )

Converts special characters with special meaning in XML to their entity equivalent.

Converts special characters with special meaning in XML to their entity equivalent.

Parameters

$str
string
$str The string to convert

Returns

string
The converted string
public string
# makeXml( mixed $vars, string $encoding = "UTF-8" )

Convert the given array into an XML document

Convert the given array into an XML document

Parameters

$vars
mixed
$vars An object, array or string of data to convert into an XML document
$encoding
string
$encoding The characer encoding of this document (must be the same encoding as in $vars)

Returns

string
An XML document

Magic methods summary

Properties summary

public string $tab
#

The string to repeat for every tab space

The string to repeat for every tab space

public string $root_node
#

The default node for an element

The default node for an element

Blesta API documentation generated by ApiGen 2.8.0