diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-08 16:41:21 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-08 16:41:21 -0400 |
commit | 90e49e0b5ffb2e378fb9c959c17f88160a8ebeb3 (patch) | |
tree | 04bcec45847a4c7561d20df20def457cede05b0f /opmlparser.php | |
parent | 8dc1c6c6ea83f4ffe5fc0c290e317cd9bacb6d6f (diff) |
curl connections between importopml and createfeed
Diffstat (limited to 'opmlparser.php')
-rw-r--r-- | opmlparser.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/opmlparser.php b/opmlparser.php index 3a07383cb..280a07a83 100644 --- a/opmlparser.php +++ b/opmlparser.php @@ -23,18 +23,33 @@ class OPMLParser { $this->count = 0; } + /** + * @brief + * @returns the title element from the head section of the OPML file + */ public function getTitle() { return $this->title; } + /** + * @brief + * @returns the number of feeds found in the OPML file + */ public function getData() { return $this->data; } + /** + * @brief + * @returns the number of feeds found in the file + */ public function getCount() { return $this->count; } + /** + * @brief This is used as a utility private function by the method OPMLParser::parse + */ private static function parseFolder($rawfolder, &$count) { $list = array(); foreach ($rawfolder->outline as $rawcollection) { @@ -64,6 +79,7 @@ class OPMLParser { } /** + * @brief * @param $raw the XML string to be parsed * @return an object of the OPMLParser class itself * or null if the parsing failed |