Stud.IP
2.0 Revision 48548
|
Namespaces | |
namespace | Export |
Functions | |
xml_header () | |
xml_open_tag ($tag_name, $tag_key="") | |
xml_close_tag ($tag_name) | |
xml_tag ($tag_name, $tag_content, $tag_attributes=null) | |
xml_footer () |
xml_close_tag | ( | $tag_name | ) |
create closing xml-tag
This function creates a closed xml-tag. The tag-name is defined by the given parameter $tag_name.
public
string | tag name |
xml_footer | ( | ) |
create xml-footer
This function creates the footer for xml output, which is a closing "studip"-tag.
public
xml_header | ( | ) |
xml_open_tag | ( | $tag_name, | |
$tag_key = "" |
|||
) |
create opening xml-tag
This function creates an open xml-tag. The tag-name is defined by the given parameter $tag_name. An optional parameter allows to set an attribute named "key".
public
string | tag name |
string | value for optional attribute "key" |
xml_tag | ( | $tag_name, | |
$tag_content, | |||
$tag_attributes = null |
|||
) |
create xml-tag
This function creates a xml-tag. The tag-name is defined by the given parameter $tag_name. The given parameter tag_content is put between open tag and close tag.
public
string | tag name |
string | content for xml-tag |
array | array of tag attributes |