Logo Search packages:      
Sourcecode: websvn version File versions  Download package

FeedCreator::_createAdditionalElements ( elements,
indentString = "" 
) [inherited]

Creates a string containing all additional elements specified in $additionalElements.

elements array an associative array containing key => value pairs
indentString string a string that will be inserted before every generated line
string the XML tags corresponding to $additionalElements

Definition at line 414 of file feedcreator.class.php.

Referenced by AtomCreator03::createFeed(), RSSCreator091::createFeed(), and RSSCreator10::createFeed().

        $ae = "";
        if (is_array($elements)) {
            foreach($elements AS $key => $value) {
                $ae.= $indentString."<$key>$value</$key>\n";
        return $ae;

Generated by  Doxygen 1.6.0   Back to index