Cheetah
|
Public Member Functions | |
createParser () | |
getAttribute ($sXmlContent, $sXmlTag, $sXmlAttribute) | |
getAttributes ($sXmlContent, $sXmlTagName, $sXmlTagIndex=-1) | |
getTags ($sXmlContent, $sXmlTagName, $iXmlTagIndex=-1) | |
getValues ($sXmlContent, $sXmlTagName) | |
setValues ($sXmlContent, $sXmlTagName, $aKeyValues) | |
addValues ($sXmlContent, $sXmlTagName, $aKeyValues) | |
getContent ($aValues=array()) | |
This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/ This class is needed to work with XML files.
Definition at line 11 of file ChWsbXml.php.
ChWsbXml::addValues | ( | $sXmlContent, | |
$sXmlTagName, | |||
$aKeyValues | |||
) |
Adds given values to XML content.
Definition at line 121 of file ChWsbXml.php.
ChWsbXml::createParser | ( | ) |
Definition at line 13 of file ChWsbXml.php.
ChWsbXml::getAttribute | ( | $sXmlContent, | |
$sXmlTag, | |||
$sXmlAttribute | |||
) |
Get the value of specified attribute for specified tag.
Definition at line 21 of file ChWsbXml.php.
ChWsbXml::getAttributes | ( | $sXmlContent, | |
$sXmlTagName, | |||
$sXmlTagIndex = -1 |
|||
) |
Get an array of attributes for specified tag or an array of tags with the same name.
gets two-dimensional array of attributes. tags-attlibutes
Definition at line 34 of file ChWsbXml.php.
ChWsbXml::getContent | ( | $aValues = array() | ) |
get content in XML format from given values array
Definition at line 146 of file ChWsbXml.php.
ChWsbXml::getTags | ( | $sXmlContent, | |
$sXmlTagName, | |||
$iXmlTagIndex = -1 |
|||
) |
Get an array of tags or one tag if its index is specified.
Definition at line 60 of file ChWsbXml.php.
ChWsbXml::getValues | ( | $sXmlContent, | |
$sXmlTagName | |||
) |
Gets the values of the given tag.
Definition at line 83 of file ChWsbXml.php.
ChWsbXml::setValues | ( | $sXmlContent, | |
$sXmlTagName, | |||
$aKeyValues | |||
) |
Sets the values of tag where attribute "key" equals to specified.
Definition at line 101 of file ChWsbXml.php.