File "Category.php"
Full path: /home/kosmetik/public_html/wp-includes/SimplePie/Category.php
File
size: 816 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
class SimplePie_Category
{
var $term;
var $scheme;
var $label;
var $type;
public function __construct($term = null, $scheme = null, $label = null, $type = null)
{
$this->term = $term;
$this->scheme = $scheme;
$this->label = $label;
$this->type = $type;
}
public function __toString()
{
return md5(serialize($this));
}
public function get_term()
{
return $this->term;
}
public function get_scheme()
{
return $this->scheme;
}
public function get_label($strict = false)
{
if ($this->label === null && $strict !== true) {
return $this->get_term();
}
return $this->label;
}
public function get_type()
{
return $this->type;
}
}