File "Restriction.php"
Full path: /home/kosmetik/public_html/wp-includes/SimplePie/Restriction.php
File
size: 828 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
class SimplePie_Restriction
{
var $relationship;
var $type;
var $value;
public function __construct($relationship = null, $type = null, $value = null)
{
$this->relationship = $relationship;
$this->type = $type;
$this->value = $value;
}
public function __toString()
{
return md5(serialize($this));
}
public function get_relationship()
{
if ($this->relationship !== null) {
return $this->relationship;
}
return null;
}
public function get_type()
{
if ($this->type !== null) {
return $this->type;
}
return null;
}
public function get_value()
{
if ($this->value !== null) {
return $this->value;
}
return null;
}
}