Lines Matching refs:category

1035 	 * Set which class SimplePie uses for handling category data
2219 * Get a category for the feed
2222 * @param int $key The category that you want to return. Remember that arrays begin with 0, not 1
2239 * Uses `<atom:category>`, `<category>` or `<dc:subject>`
2248 foreach ((array) $this->get_channel_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'category') as $category)
2253 if (isset($category['attribs']['']['term']))
2255 $term = $this->sanitize($category['attribs']['']['term'], SIMPLEPIE_CONSTRUCT_TEXT);
2257 if (isset($category['attribs']['']['scheme']))
2259 $scheme = $this->sanitize($category['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
2261 if (isset($category['attribs']['']['label']))
2263 $label = $this->sanitize($category['attribs']['']['label'], SIMPLEPIE_CONSTRUCT_TEXT);
2267 foreach ((array) $this->get_channel_tags(SIMPLEPIE_NAMESPACE_RSS_20, 'category') as $category)
2271 $term = $this->sanitize($category['data'], SIMPLEPIE_CONSTRUCT_TEXT);
2272 if (isset($category['attribs']['']['domain']))
2274 $scheme = $this->sanitize($category['attribs']['']['domain'], SIMPLEPIE_CONSTRUCT_TEXT);
2282 foreach ((array) $this->get_channel_tags(SIMPLEPIE_NAMESPACE_DC_11, 'subject') as $category)
2284 $categories[] = $this->registry->create('Category', array($this->sanitize($category['data'], SIMPLEPIE_CONSTRUCT_TEXT), null, null));
2286 foreach ((array) $this->get_channel_tags(SIMPLEPIE_NAMESPACE_DC_10, 'subject') as $category)
2288 $categories[] = $this->registry->create('Category', array($this->sanitize($category['data'], SIMPLEPIE_CONSTRUCT_TEXT), null, null));