mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Fix: Fix GNU address
Doxygen
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user