Fix: Fix GNU address

Doxygen
This commit is contained in:
Laurent Destailleur
2011-09-03 01:24:09 +00:00
parent f39c932b2e
commit d53b179102
41 changed files with 1049 additions and 979 deletions

View File

@@ -448,10 +448,10 @@ class RssParser
* Triggered when CDATA is found
*
* @param $p
* @param $element Tag
* @param $attrs Attributes of tags
* @param $text Tag
*/
function feed_cdata ($p, $text) {
function feed_cdata($p, $text)
{
if ($this->_format == 'atom' and $this->incontent)
{
$this->append_content( $text );
@@ -466,9 +466,10 @@ class RssParser
* Triggered when closed tag is found
*
* @param $p
* @param $element Tag
* @param $el Tag
*/
function feed_end_element ($p, $el) {
function feed_end_element($p, $el)
{
$el = strtolower($el);
if ( $el == 'item' or $el == 'entry' )
@@ -520,7 +521,8 @@ class RssParser
* @param $str1
* @param $str2
*/
function concat (&$str1, $str2="") {
function concat(&$str1, $str2="")
{
if (!isset($str1) ) {
$str1="";
}
@@ -529,7 +531,8 @@ class RssParser
/**
*/
function append_content($text) {
function append_content($text)
{
if ( $this->initem ) {
$this->concat( $this->current_item[ $this->incontent ], $text );
}
@@ -541,7 +544,8 @@ class RssParser
/**
* smart append - field and namespace aware
*/
function append($el, $text) {
function append($el, $text)
{
if (!$el) {
return;
}