content
Packages
Interfaces
Classes
Files

Class: FeedsCat

Source Location: /content/syndication/feeds_cat.class.php [line 36]

Class Overview


Describes a feed by building a category tree

Author(s):



Class Details

Describes a feed by building a category tree

Tags:

[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]


Class Methods

constructor FeedsCat [line 44]

FeedsCat FeedsCat( string $module_id, int $category_id, string $category_name)
Builds a FeedsCat Object

Parameters:

string   $module_id   the feed module id
int   $category_id   the category id
string   $category_name   the category name
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method add_child [line 94]

void add_child( FeedsCat $child)
Adds a FeedsCat child to the current FeedsCat object

Parameters:

FeedsCat   $child   The element to add
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_category_id [line 76]

int get_category_id( )
Returns the category id

Tags:

  • return: the category id
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_category_name [line 85]

string get_category_name( )
Returns the category name

Tags:

  • return: the category name
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_children [line 103]

FeedsCat[] get_children( )
Returns the current category children

Tags:

  • return: The current category children
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_module_id [line 66]

string get_module_id( )
Returns the module id

Tags:

  • return: the module id
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_url [line 56]

string get_url( [string $feed_type = ''])
Returns the feed url

Tags:

  • return: the feed url

Parameters:

string   $feed_type   The feed type
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]


Class Variables

[line 109]   mixed  $cat_name  =  ''
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 111]   mixed  $children  = array()
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 108]   mixed  $id  =  0
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 110]   mixed  $module_id  =  ''
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
Documentation generated on Tue, 28 Jul 2009 22:43:36 +0200 by phpDocumentor 1.4.1