Changeset 1596

Show
Ignore:
Timestamp:
05/26/08 00:23:16 (3 months ago)
Author:
mikey
Message:

add net::stubbles::xml::rss::stubAbstractRSSFeed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/xml/rss/stubRSSFeedGenerator.php

    r1591 r1596  
    139139    } 
    140140 
     141    /** 
     142     * returns the title of rss feed 
     143     * 
     144     * @return  string 
     145     */ 
     146    public function getTitle() 
     147    { 
     148        return $this->title; 
     149    } 
     150 
     151    /** 
     152     * returns the source of rss feed 
     153     * 
     154     * @return  string 
     155     */ 
     156    public function getLink() 
     157    { 
     158        return $this->link; 
     159    } 
     160 
     161    /** 
     162     * returns the source description 
     163     * 
     164     * @return  string 
     165     */ 
     166    public function getDescription() 
     167    { 
     168        return $this->description; 
     169    } 
    141170 
    142171    /** 
     
    184213        $this->language = $language; 
    185214    } 
    186      
     215 
     216    /** 
     217     * returns the language 
     218     * 
     219     * @return  string 
     220     */ 
     221    public function getLanguage() 
     222    { 
     223        return $this->language; 
     224    } 
     225 
    187226    /** 
    188227     * set copyright notice for content in the channel 
  • trunk/src/test/php/net/stubbles/xml/XMLTestSuite.php

    r1594 r1596  
    3030 
    3131        // rss 
     32        $suite->addTestFile($dir . '/rss/stubAbstractRSSFeedTestCase.php'); 
    3233        $suite->addTestFile($dir . '/rss/stubRSSFeedGeneratorTestCase.php'); 
    3334        $suite->addTestFile($dir . '/rss/stubRSSFeedItemTestCase.php');