Summary
- File
- Package hierarchy Content\Feed
- Class hierarchy \FeedsCat
Describes a feed by building a category tree
Describes a feed by building a category tree
__construct(string $module_id, integer $category_id, string $category_name)
Builds a FeedsCat Object
string | $module_id | the feed module id |
integer | $category_id | the category id |
string | $category_name | the category name |
None found |
get_url(string $feed_type = '') : string
Returns the feed url
string | $feed_type | The feed type |
the feed url
None found |
get_module_id() : string
Returns the module id
the module id
None found |
get_category_id() : integer
Returns the category id
the category id
None found |
get_category_name() : string
Returns the category name
the category name
None found |
add_child(\FeedsCat $child)
Adds a FeedsCat child to the current FeedsCat object
\FeedsCat | $child | The element to add |
None found |
get_children() : array<mixed,\FeedsCat>
Returns the current category children
The current category children
None found |